xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case12.ref (revision 78801af7286cd73dbc996d470f789e75993cf15d)
1open 1 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=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
10open 2
11 open 2 OK
12brk-open 2
13*smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
14 brk-open 2 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
15waiters 2 1
16 waiters 0 -> 1
17show
18 ol_state=0x30017 ( BREAK_TO_HANDLE_CACHING BREAK_TO_READ_CACHING EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
19 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
20 ofile_cnt=2
21  fid=1 Lease=1 OgState=0x807 Brk=0x30000 Excl=Y onlist:
22  fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
23open 3
24 open 3 OK
25brk-open 3 4
26 brk-open 3 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
27waiters 3 2
28 waiters 1 -> 2
29show
30 ol_state=0x80017 ( BREAK_TO_NO_CACHING EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
31 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
32 ofile_cnt=3
33  fid=1 Lease=1 OgState=0x807 Brk=0x30000 Excl=Y onlist:
34  fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
35  fid=3 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
36ack 1 0x803
37*smb_oplock_ind_break fid=1 NewLevel=0x0, AckReq=1, ComplStatus=0x8000002e (CANNOT_GRANT_REQUESTED_OPLOCK)
38 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
39show
40 ol_state=0x80003 ( BREAK_TO_NO_CACHING HANDLE_CACHING READ_CACHING )
41 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=1
42 ofile_cnt=3
43  fid=1 Lease=1 OgState=0x803 Brk=0x80000 Excl=N onlist:    RHBQ(to none)
44  fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
45  fid=3 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
46ack 1 0x800
47 ack: break fid=1, newstate=0x800, status=0x0 (SUCCESS)
48show
49 ol_state=0x10000000 ( NO_OPLOCK )
50 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
51 ofile_cnt=3
52  fid=1 Lease=1 OgState=0x800 Brk=0x0 Excl=N onlist:
53  fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
54  fid=3 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
55