summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-12 09:02:02 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:45 +0900
commit99580a386220b8b0f156738c4bf195da53d3ba85 (patch)
tree4992385ed570fdab676daa6b4bca51fd081260ba /tools/perf/scripts/python/stackcollapse.py
parentcb946cd133f7958da4a62a102cf560de4857b2dc (diff)
ksmbd: send lease breaks for handle-caching share conflicts
RH leases map to SMB2_OPLOCK_LEVEL_II because they do not include write caching. smb_grant_oplock() only sent break notifications for previous BATCH or EXCLUSIVE levels, so a conflicting open could skip the lease break when the existing lease was RH. That leaves the opener to fail or complete without the expected pending lease break sequence, instead of first asking the holder to drop handle caching. Treat share-mode conflicts against leases with HANDLE_CACHING as needing a break even when the mapped oplock level is LEVEL_II. This lets the server send the RH -> R lease break and wait for the normal break handling before continuing the conflicting open. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions