summaryrefslogtreecommitdiff
path: root/usr/src/cmd/smbsrv/testoplock/case13.ref
blob: a35a5992cee50a7a8f9ef2dcd192b8511dd43e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
open 1 1
 open 1 OK
req 1 0x801
 req oplock fid=1 ret oplock=0x801 status=0x0 (SUCCESS)
show
 ol_state=0x1 ( READ_CACHING )
 Excl=n cnt_II=0 cnt_R=1 cnt_RH=0 cnt_RHBQ=0
 ofile_cnt=1
  fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist:  R 

open 2 1
 open 2 OK
brk-open 2
 brk-open 2 ret status=0x0 (SUCCESS)
req 2 0x807
*smb_oplock_ind_break fid=1 NewLevel=0x7, AckReq=0, ComplStatus=0x215 (OPLOCK_SWITCHED_TO_NEW_HANDLE)
 req oplock fid=2 ret oplock=0x807 status=0x0 (SUCCESS)
show
 ol_state=0x17 ( EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
 Excl=Y (FID=2) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
 ofile_cnt=2
  fid=1 Lease=1 OgState=0x0 Brk=0x0 Excl=N onlist:   
  fid=2 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:   

move 2 1
 move 2 1
close 2
 close OK
show
 ol_state=0x17 ( EXCLUSIVE WRITE_CACHING HANDLE_CACHING READ_CACHING )
 Excl=Y (FID=1) cnt_II=0 cnt_R=0 cnt_RH=0 cnt_RHBQ=0
 ofile_cnt=1
  fid=1 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:   

open 3 2
 open 3 OK
brk-open 3
*smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
 brk-open 3 ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
ack 1
 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
show
 ol_state=0x3 ( HANDLE_CACHING READ_CACHING )
 Excl=n cnt_II=0 cnt_R=0 cnt_RH=1 cnt_RHBQ=0
 ofile_cnt=2
  fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
  fid=3 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:   

req 3 0x801
 req oplock fid=3 ret oplock=0x801 status=0x0 (SUCCESS)
show
 ol_state=0x23 ( MIXED_R_AND_RH HANDLE_CACHING READ_CACHING )
 Excl=n cnt_II=0 cnt_R=1 cnt_RH=1 cnt_RHBQ=0
 ofile_cnt=2
  fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist:   RH
  fid=3 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist:  R