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