xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case06.ref (revision f7db5903887928b2b43995473632ef63d130bbd4)
1open 1 1
2 open 1 OK
3req 1 0x801
4 req oplock fid=1 ret oplock=0x801 status=0x0 (SUCCESS)
5open 2 2
6 open 2 OK
7req 2 0x801
8 req oplock fid=2 ret oplock=0x801 status=0x0 (SUCCESS)
9show
10 ol_state=0x1 ( READ_CACHING )
11 Excl=n cnt_II=0 cnt_R=2 cnt_RH=0 cnt_RHBQ=0
12 ofile_cnt=2
13  fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist:  R
14  fid=2 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist:  R
15brk-write 1
16*smb_oplock_ind_break fid=2 NewLevel=0x0, AckReq=0, ComplStatus=0x0 (SUCCESS)
17 brk-write 1 ret status=0x0 (SUCCESS)
18show
19 ol_state=0x1 ( READ_CACHING )
20 Excl=n cnt_II=0 cnt_R=1 cnt_RH=0 cnt_RHBQ=0
21 ofile_cnt=2
22  fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist:  R
23  fid=2 Lease=2 OgState=0x800 Brk=0x0 Excl=N onlist:
24open 3 2
25 open 3 OK
26req 3 0x801
27 req oplock fid=3 ret oplock=0x801 status=0x0 (SUCCESS)
28close 3
29*smb_oplock_ind_break fid=3 NewLevel=0x0, AckReq=0, ComplStatus=0x216 (OPLOCK_HANDLE_CLOSED)
30 close OK
31req 2 0x801
32 req oplock fid=2 ret oplock=0x801 status=0x0 (SUCCESS)
33show
34 ol_state=0x1 ( READ_CACHING )
35 Excl=n cnt_II=0 cnt_R=2 cnt_RH=0 cnt_RHBQ=0
36 ofile_cnt=2
37  fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist:  R
38  fid=2 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist:  R
39brk-write 2
40*smb_oplock_ind_break fid=1 NewLevel=0x0, AckReq=0, ComplStatus=0x0 (SUCCESS)
41 brk-write 2 ret status=0x0 (SUCCESS)
42show
43 ol_state=0x1 ( READ_CACHING )
44 Excl=n cnt_II=0 cnt_R=1 cnt_RH=0 cnt_RHBQ=0
45 ofile_cnt=2
46  fid=1 Lease=1 OgState=0x800 Brk=0x0 Excl=N onlist:
47  fid=2 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist:  R
48brk-write 1
49*smb_oplock_ind_break fid=2 NewLevel=0x0, AckReq=0, ComplStatus=0x0 (SUCCESS)
50 brk-write 1 ret status=0x0 (SUCCESS)
51show
52 ol_state=0x10000000 ( NO_OPLOCK )
53 Excl=n cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
54 ofile_cnt=2
55  fid=1 Lease=1 OgState=0x800 Brk=0x0 Excl=N onlist:
56  fid=2 Lease=2 OgState=0x800 Brk=0x0 Excl=N onlist:
57