diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-14 21:41:06 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:45 +0900 |
| commit | 7f8029591bed054aceba18ca333e6ab20064441f (patch) | |
| tree | ac50b4343e4f42b2799a910b729b107fb407dfc4 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 99580a386220b8b0f156738c4bf195da53d3ba85 (diff) | |
ksmbd: synchronize lease breaks before renaming files
Break read and handle caching leases before entering the VFS rename path.
This keeps the destination name hidden until the lease holder acknowledges
the break.
Send the break synchronously before returning STATUS_PENDING for a rename.
This avoids a race between the interim response and notification handling.
Keep the existing asynchronous notification flow for all other lease break
paths so chained breaks retain their ordering.
Use the connection which owns the open for the notification. A lease table
is shared by connections using the same client GUID. Its saved connection
may belong to another active channel. Use it only when the owning channel
is being released.
Check directory sharing before issuing a break to avoid unnecessary lease
breaks for a rename that must fail with a sharing violation.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
