xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case01.ref (revision dd72704bd9e794056c558153663c739e2012d721)
1open 1
2 open 1 OK
3req 1
4 req oplock fid=1 ret oplock=0x400 status=0x0 (SUCCESS)
5show
6 ol_state=0x410 ( BATCH_OPLOCK EXCLUSIVE )
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=0x400 Excl=Y onlist:
10brk-open 2
11*smb_oplock_ind_break fid=1 NewLevel=0x100, AckReq=1, ComplStatus=0x0 (SUCCESS)
12*smb_oplock_send_break fid=1 NewLevel=0x100, OldLevel=0x400, AckReq=1)
13 brk-open 2 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
14show
15 ol_state=0x100410 ( BREAK_TO_TWO BATCH_OPLOCK EXCLUSIVE )
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=0x400 BreakTo=0x100 Excl=Y onlist:
19ack 1
20 ack: break fid=1, newstate=0x100, status=0x0 (SUCCESS)
21open 2
22 open 2 OK
23req 2 0x100
24 req oplock fid=2 ret oplock=0x100 status=0x0 (SUCCESS)
25show
26 ol_state=0x100 ( LEVEL_TWO_OPLOCK )
27 Excl=n cnt_II=2 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
28 ofile_cnt=2
29  fid=1 Lease= State=0x100 Excl=N onlist: II
30  fid=2 Lease= State=0x100 Excl=N onlist: II
31