xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case02.ref (revision d48be21240dfd051b689384ce2b23479d757f2d8)
1open 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= State=0x807 Excl=Y onlist:
10brk-open 2
11*smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
12*smb_oplock_send_break fid=1 NewLevel=0x803, OldLevel=0x807, AckReq=1)
13 brk-open 2 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
14show
15 ol_state=0x30017 ( BREAK_TO_HANDLE_CACHING BREAK_TO_READ_CACHING EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
16 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
17 ofile_cnt=1
18  fid=1 Lease= State=0x807 BreakTo=0x803 Excl=Y onlist:
19ack 1
20 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
21open 2
22 open 2 OK
23req 2 0x803
24 req oplock fid=2 ret oplock=0x803 status=0x0 (SUCCESS)
25show
26 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
27 Excl=n cnt_II=0 cnt_R=0 cnt_RH=2 cnt_RHBQ=0
28 ofile_cnt=2
29  fid=1 Lease= State=0x803 Excl=N onlist: RH
30  fid=2 Lease= State=0x803 Excl=N onlist: RH
31