xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case12.ref (revision 012e6ce759c490003aed29439cc47d3d73a99ad3)
1open 1 1
2 open 1 OK
3req 1 0x807
4 req oplock fid=1 ret oplock=0x807 status=0x0 (SUCCESS)
5show
6 ol_state=0x17 ( EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
7 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
8 ofile_cnt=1
9  fid=1 Lease=1 State=0x807 Excl=Y onlist:
10open 2
11 open 2 OK
12brk-open 2
13*smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
14*smb_oplock_send_break fid=1 NewLevel=0x803, OldLevel=0x807, AckReq=1)
15 brk-open 2 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
16waiters 2 1
17 waiters 0 -> 1
18show
19 ol_state=0x30017 ( BREAK_TO_HANDLE_CACHING BREAK_TO_READ_CACHING EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
20 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
21 ofile_cnt=2
22  fid=1 Lease=1 State=0x807 BreakTo=0x803 Excl=Y onlist:
23  fid=2 Lease= State=0x0 Excl=N onlist:
24open 3
25 open 3 OK
26brk-open 3 4
27 brk-open 3 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
28waiters 3 2
29 waiters 1 -> 2
30show
31 ol_state=0x80017 ( BREAK_TO_NO_CACHING EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
32 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
33 ofile_cnt=3
34  fid=1 Lease=1 State=0x807 BreakTo=0x803 Excl=Y onlist:
35  fid=2 Lease= State=0x0 Excl=N onlist:
36  fid=3 Lease= State=0x0 Excl=N onlist:
37ack 1 0x803
38 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
39*smb_oplock_ind_break_in_ack fid=1 NewLevel=0x1, AckReq=1
40*smb_oplock_send_break fid=1 NewLevel=0x801, OldLevel=0x803, AckReq=1)
41show
42 ol_state=0x80003 ( BREAK_TO_NO_CACHING HANDLE_CACHING READ_CACHING )
43 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=1
44 ofile_cnt=3
45  fid=1 Lease=1 State=0x803 BreakTo=0x801 Excl=N onlist: RHBQ(to none)
46  fid=2 Lease= State=0x0 Excl=N onlist:
47  fid=3 Lease= State=0x0 Excl=N onlist:
48ack 1 0x801
49 ack: break fid=1, newstate=0x801, status=0x0 (SUCCESS)
50*smb_oplock_ind_break_in_ack fid=1 NewLevel=0x0, AckReq=0
51*smb_oplock_send_break fid=1 NewLevel=0x800, OldLevel=0x801, AckReq=0)
52show
53 ol_state=0x10000000 ( NO_OPLOCK )
54 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
55 ofile_cnt=3
56  fid=1 Lease=1 State=0x800 Excl=N onlist:
57  fid=2 Lease= State=0x0 Excl=N onlist:
58  fid=3 Lease= State=0x0 Excl=N onlist:
59