Re: [PATCH v2 1/2] SUNRPC: add request-scoped disconnects when cancelling tasks

From: Tim Menninger

Date: Fri Nov 06 2026 - 18:38:26 EST


> Would retaining the request/connection-generation scope, while removing
> the additional unconditional lock acquisition from xprt_release(), be a
> reasonable direction?

I've posted v3 with the additional unconditional lock acquisition
removed:

https://lore.kernel.org/all/20261106232844.2176820-1-tmenninger@xxxxxxxxxxxxxxxx

There is still a broader question about when we should cancel I/O in the
first place. This series does not change those cancellation decisions. I
still think the narrower disconnect scope is useful independently of how
we resolve that broader question. Where cancellation does require a
disconnect, it should not also tear down unrelated transports or a
replacement connection generation that did not carry the affected
requests.

I posted v3 to put that narrower change forward for review, not to
suggest that the cancellation-policy question is settled.