xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case05.ref (revision 45ede40b2394db7967e59f19288fae9b62efd4aa)
1open 2 4
2 open 2 OK
3req 2 0x803
4 req oplock fid=2 ret oplock=0x803 status=0x0 (SUCCESS)
5show
6 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
7 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
8 ofile_cnt=1
9  fid=2 Lease=4 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
10open 3 4
11 open 3 OK
12req 3 0x803
13*smb_oplock_ind_break fid=2 NewLevel=0x3, AckReq=0, ComplStatus=0x215 (OPLOCK_SWITCHED_TO_NEW_HANDLE)
14 req oplock fid=3 ret oplock=0x803 status=0x0 (SUCCESS)
15show
16 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
17 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
18 ofile_cnt=2
19  fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
20  fid=3 Lease=4 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
21open 1
22 open 1 OK
23brk-write 1
24*smb_oplock_ind_break fid=3 NewLevel=0x0, AckReq=1, ComplStatus=0x0 (SUCCESS)
25 brk-write 1 ret status=0x0 (SUCCESS)
26show
27 ol_state=0x80003 ( BREAK_TO_NO_CACHING HANDLE_CACHING READ_CACHING )
28 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=1
29 ofile_cnt=3
30  fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
31  fid=3 Lease=4 OgState=0x803 Brk=0x80000 Excl=N onlist:    RHBQ(to none)
32  fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
33ack 3
34 ack: break fid=3, newstate=0x800, status=0x0 (SUCCESS)
35show
36 ol_state=0x10000000 ( NO_OPLOCK )
37 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
38 ofile_cnt=3
39  fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
40  fid=3 Lease=4 OgState=0x800 Brk=0x0 Excl=N onlist:
41  fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
42open 4 4
43 open 4 OK
44req 4 0x803
45 req oplock fid=4 ret oplock=0x803 status=0x0 (SUCCESS)
46show
47 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
48 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
49 ofile_cnt=4
50  fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
51  fid=3 Lease=4 OgState=0x800 Brk=0x0 Excl=N onlist:
52  fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
53  fid=4 Lease=4 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
54close 4
55*smb_oplock_ind_break fid=4 NewLevel=0x0, AckReq=0, ComplStatus=0x216 (OPLOCK_HANDLE_CLOSED)
56 close OK
57req 3 0x803
58 req oplock fid=3 ret oplock=0x803 status=0x0 (SUCCESS)
59show
60 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
61 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
62 ofile_cnt=3
63  fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
64  fid=3 Lease=4 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
65  fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
66