]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: add oplock level to smb3_open_done tracepoint
authorBharath SM <bharathsm@microsoft.com>
Tue, 14 Apr 2026 16:18:04 +0000 (21:48 +0530)
committerSteve French <stfrench@microsoft.com>
Tue, 14 Apr 2026 18:04:21 +0000 (13:04 -0500)
commit4c46b677f352dc480b8a19ea198146eac0c60f9e
tree1700161648430e7072da0a710bc42837052c2d50
parentafab3f61aeb19693109e8a71028c7b0c8088f452
smb: client: add oplock level to smb3_open_done tracepoint

Add an oplock field to the smb3_open_done_class trace event to
show the granted oplock/lease level. Move the trace_smb3_open_done
call after smb2_parse_contexts() so the oplock value reflects
the parsed lease state (R/W/H flags).

Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2pdu.c
fs/smb/client/trace.h