diff options
| author | 2026-09-25 08:44:00 +0900 | |
|---|---|---|
| committer | 2026-10-21 08:55:29 +0900 | |
| commit | a15d42f53184f5abda0067b7ebe9edb82d05a0ea (patch) | |
| tree | 8e76fdeb2d1d911c7e46a9a6b16502104613d347 /scripts/Makefile.thinlto | |
| parent | ksmbd: rebind completed CREATE replays without draining the old channel (diff) | |
ksmbd: track SMB2 locks above OFFSET_MAX in server lock table
SMB2 lock ranges use unsigned 64-bit offsets, but file_lock stores signed
loff_t values. Track valid ranges above OFFSET_MAX in ksmbd's inode-based
lock index and arbitrate conflicts there. Keep these offsets out of
file_lock, and handle blocking requests, unlocks, rollback, close cleanup
and cancellation in the SMB layer.
Reserve large ranges under the index spinlock until the full request
commits. Keep lookup and ownership independent of the connection so
channel removal and hard-link opens use the same conflict checks.
Finish large-range unlocks in the SMB layer after unlocking any VFS
portion. Wake large-range lock waiters when normal locks are removed
by unlock or close.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
