xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case13.ref (revision b1e2e3fb17324e9ddf43db264a0c64da7756d9e6)
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 OgState=0x801 Brk=0x0 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 OgState=0x0 Brk=0x0 Excl=N onlist:
23  fid=2 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
24
25move 2 1
26 move 2 1
27close 2
28 close OK
29show
30 ol_state=0x17 ( 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=1
33  fid=1 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
34
35open 3 2
36 open 3 OK
37brk-open 3
38*smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
39 brk-open 3 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
40ack 1
41 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
42show
43 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
44 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
45 ofile_cnt=2
46  fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
47  fid=3 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
48
49req 3 0x801
50 req oplock fid=3 ret oplock=0x801 status=0x0 (SUCCESS)
51show
52 ol_state=0x23 ( MIXED_R_AND_RH HANDLE_CACHING READ_CACHING )
53 Excl=n cnt_II=0 cnt_R=1 cnt_RH=1 cnt_RHBQ=0
54 ofile_cnt=2
55  fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
56  fid=3 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist:  R
57