diff options
| author | 2026-09-25 19:53:01 +0900 | |
|---|---|---|
| committer | 2026-10-21 08:55:29 +0900 | |
| commit | c1c50e2dbbd55fb141da4146214b6fc301bf89dd (patch) | |
| tree | 017bdbf24f5ccb9a7b14fcb2734b37bbb3682065 /scripts/Makefile.thinlto | |
| parent | ksmbd: expire unacknowledged oplock breaks (diff) | |
ksmbd: expire unacknowledged lease breaks
Arm a lease break acknowledgment timer once the common notification path
accepts an ACK-required notification for transmission. Keep the deadline
on the lease across channel retries and scan every lease in the global
lease tables when the timer expires. Set timed-out leases and all their
opens to NONE, then rearm for the next deadline.
Serialize client acknowledgments, notification state and timer expiry
under the lease lock, taking each open's state lock after it. Update every
open before publishing break completion so a late acknowledgment cannot
restore an expired lease. Wake blocked opens on timeout, send failure and
global lease-table teardown, and cancel the timer at teardown.
Keep the existing connection-independent lease-table lifetime and use the
notifier's opinfo reference to retain the lease. Stop after selecting one
open during lease-key lookup.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
