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