xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case14.ref (revision 7a6d80f1660abd4755c68cbd094d4a914681d26e)
1
2open 1 1
3 open 1 OK
4req 1 0x807
5 req oplock fid=1 ret oplock=0x807 status=0x0 (SUCCESS)
6show
7 ol_state=0x17 ( EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
8 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
9 ofile_cnt=1
10  fid=1 Lease=1 State=0x807 Excl=Y onlist:
11
12brk-setinfo 1 0xa
13 brk-setinfo 1 0xa ret status=0x0 (SUCCESS)
14show
15 ol_state=0x17 ( 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=1 State=0x807 Excl=Y onlist:
19
20
21open 2 2
22 open 2 OK
23brk-open 2
24*smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
25*smb_oplock_send_break fid=1 NewLevel=0x803, OldLevel=0x807, AckReq=1)
26 brk-open 2 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
27show
28 ol_state=0x30017 ( BREAK_TO_HANDLE_CACHING BREAK_TO_READ_CACHING EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
29 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
30 ofile_cnt=2
31  fid=1 Lease=1 State=0x807 BreakTo=0x803 Excl=Y onlist:
32  fid=2 Lease=2 State=0x0 Excl=N onlist:
33
34ack 1 0x803
35 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
36show
37 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
38 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
39 ofile_cnt=2
40  fid=1 Lease=1 State=0x803 Excl=N onlist: RH
41  fid=2 Lease=2 State=0x0 Excl=N onlist:
42
43req 2 0x807
44 req oplock fid=2 ret oplock=0x0 status=0xc00000e2 (OPLOCK_NOT_GRANTED)
45req 2 0x803
46 req oplock fid=2 ret oplock=0x803 status=0x0 (SUCCESS)
47
48brk-setinfo 1 0xa
49*smb_oplock_ind_break fid=2 NewLevel=0x1, AckReq=1, ComplStatus=0x0 (SUCCESS)
50*smb_oplock_send_break fid=2 NewLevel=0x801, OldLevel=0x803, AckReq=1)
51 brk-setinfo 1 0xa ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
52show
53 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
54 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=1
55 ofile_cnt=2
56  fid=1 Lease=1 State=0x803 Excl=N onlist: RH
57  fid=2 Lease=2 State=0x803 BreakTo=0x801 Excl=N onlist: RHBQ(to read)
58
59ack 2 0x801
60 ack: break fid=2, newstate=0x801, status=0x0 (SUCCESS)
61show
62 ol_state=0x23 ( MIXED_R_AND_RH HANDLE_CACHING READ_CACHING )
63 Excl=n cnt_II=0 cnt_R=1 cnt_RH=1 cnt_RHBQ=0
64 ofile_cnt=2
65  fid=1 Lease=1 State=0x803 Excl=N onlist: RH
66  fid=2 Lease=2 State=0x801 Excl=N onlist: R
67