summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBharath SM <bharathsm@microsoft.com>2023-06-18 22:02:24 +0300
committerSteve French <stfrench@microsoft.com>2023-06-20 02:16:26 +0300
commitda787d5b74983f7525d1eb4b9c0b4aff2821511a (patch)
tree02732baa79d3a3ba51c1b4f0f8f876687ff479e0 /tools/perf/scripts/python/export-to-sqlite.py
parent45a3e24f65e90a047bef86f927ebdc4c710edaa1 (diff)
downloadlinux-da787d5b74983f7525d1eb4b9c0b4aff2821511a.tar.xz
SMB3: Do not send lease break acknowledgment if all file handles have been closed
In case if all existing file handles are deferred handles and if all of them gets closed due to handle lease break then we dont need to send lease break acknowledgment to server, because last handle close will be considered as lease break ack. After closing deferred handels, we check for openfile list of inode, if its empty then we skip sending lease break ack. Fixes: 59a556aebc43 ("SMB3: drop reference to cfile before sending oplock break") Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Bharath SM <bharathsm@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions