xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case05.ref (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
1open 2 4
2 open 2 OK
3req 2 0x803
4 req oplock fid=2 ret oplock=0x803 status=0x0 (SUCCESS)
5show
6 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
7 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
8 ofile_cnt=1
9  fid=2 Lease=4 State=0x803 Excl=N onlist: RH
10open 3 4
11 open 3 OK
12req 3 0x803
13*smb_oplock_ind_break fid=2 NewLevel=0x3, AckReq=0, ComplStatus=0x215 (OPLOCK_SWITCHED_TO_NEW_HANDLE)
14 req oplock fid=3 ret oplock=0x803 status=0x0 (SUCCESS)
15show
16 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
17 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
18 ofile_cnt=2
19  fid=2 Lease=4 State=0x0 Excl=N onlist:
20  fid=3 Lease=4 State=0x803 Excl=N onlist: RH
21open 1
22 open 1 OK
23brk-write 1
24*smb_oplock_ind_break fid=3 NewLevel=0x0, AckReq=1, ComplStatus=0x0 (SUCCESS)
25*smb_oplock_send_break fid=3 NewLevel=0x800, OldLevel=0x803, AckReq=1)
26 brk-write 1 ret status=0x0 (SUCCESS)
27show
28 ol_state=0x80003 ( BREAK_TO_NO_CACHING HANDLE_CACHING READ_CACHING )
29 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=1
30 ofile_cnt=3
31  fid=2 Lease=4 State=0x0 Excl=N onlist:
32  fid=3 Lease=4 State=0x803 BreakTo=0x800 Excl=N onlist: RHBQ(to none)
33  fid=1 Lease= State=0x0 Excl=N onlist:
34ack 3
35 ack: break fid=3, newstate=0x800, status=0x0 (SUCCESS)
36show
37 ol_state=0x10000000 ( NO_OPLOCK )
38 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
39 ofile_cnt=3
40  fid=2 Lease=4 State=0x0 Excl=N onlist:
41  fid=3 Lease=4 State=0x800 Excl=N onlist:
42  fid=1 Lease= State=0x0 Excl=N onlist:
43open 4 4
44 open 4 OK
45req 4 0x803
46 req oplock fid=4 ret oplock=0x803 status=0x0 (SUCCESS)
47show
48 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
49 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
50 ofile_cnt=4
51  fid=2 Lease=4 State=0x0 Excl=N onlist:
52  fid=3 Lease=4 State=0x800 Excl=N onlist:
53  fid=1 Lease= State=0x0 Excl=N onlist:
54  fid=4 Lease=4 State=0x803 Excl=N onlist: RH
55close 4
56*smb_oplock_ind_break fid=4 NewLevel=0x0, AckReq=0, ComplStatus=0x216 (OPLOCK_HANDLE_CLOSED)
57 close OK
58req 3 0x803
59 req oplock fid=3 ret oplock=0x803 status=0x0 (SUCCESS)
60show
61 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
62 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
63 ofile_cnt=3
64  fid=2 Lease=4 State=0x0 Excl=N onlist:
65  fid=3 Lease=4 State=0x803 Excl=N onlist: RH
66  fid=1 Lease= State=0x0 Excl=N onlist:
67