diff options
| author | 2026-10-09 11:38:15 +0900 | |
|---|---|---|
| committer | 2026-10-21 08:55:28 +0900 | |
| commit | 14ad1f21fbf05179116dd6ef4ab3b6556478fa50 (patch) | |
| tree | 040ff7a69f50fe6f84f544a703aa9ea8ca45e69f /scripts/Makefile.thinlto | |
| parent | ksmbd: track delivery of queued TCP writes (diff) | |
ksmbd: retry break notifications on another connection
An oplock or lease break belongs to an open that can outlive its original
channel. A draining channel or stalled TCP writer can otherwise leave the
break pending until timeout or invalidate a durable open.
Snapshot the owner's live channels and try eligible connections with the
same notification. Track TCP delivery separately from the SMB ACK, retry
when a channel stops progressing, and share one break deadline. Run
ordinary break waits on a dedicated workqueue so blocked request
responses do not stall breaks.
Publish NONE before sending a level II break, which requires no ACK, so
an unsolicited ACK observes the completed level while TCP delivery is
pending.
Keep the first rename lease notification in the request context and
enqueue the interim writer only after the notification is accepted. Join
that work before returning so a blocked interim response does not stop
notification retries or release the request early.
Reported-by: Pan Guihua <pan.guihua@datatom.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
