diff options
author | Steve French <stfrench@microsoft.com> | 2022-05-22 08:41:41 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-05-22 08:46:08 +0300 |
commit | 35a2b533a261e2e43542df902bd9757a1deebfd5 (patch) | |
tree | 8c5f21f25f53651ca6181ad0f173f27441327286 /fs/cifs/trace.h | |
parent | 2b058acecf56f6b8fac781911a683219b9ca3b7b (diff) | |
download | linux-35a2b533a261e2e43542df902bd9757a1deebfd5.tar.xz |
smb3: add trace point for oplock not found
In order to debug problems with server potentially
sending us an oplock that we don't recognize (or a race
with close and oplock break) it would be helpful to have
a dynamic trace point for this case. New tracepoint
is called trace_smb3_oplock_not_found
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/trace.h')
-rw-r--r-- | fs/cifs/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/trace.h b/fs/cifs/trace.h index 09d3dfed86d9..2be5e0c8564d 100644 --- a/fs/cifs/trace.h +++ b/fs/cifs/trace.h @@ -158,6 +158,7 @@ DEFINE_SMB3_FD_EVENT(flush_enter); DEFINE_SMB3_FD_EVENT(flush_done); DEFINE_SMB3_FD_EVENT(close_enter); DEFINE_SMB3_FD_EVENT(close_done); +DEFINE_SMB3_FD_EVENT(oplock_not_found); DECLARE_EVENT_CLASS(smb3_fd_err_class, TP_PROTO(unsigned int xid, |