On 2025-04-16 10:30:11 +0200, Daniel Wagner wrote:
On Tue, Apr 15, 2025 at 05:40:16PM -0700, Mohamed Khalfella wrote:nvme multipath does not retry passthru commands. That is said, there is
On 2025-04-15 14:17:48 +0200, Daniel Wagner wrote:Good question, but nothing new as far I can tell. If the kernel doesn't
Pasthrough commands should fail immediately. Userland is in charge here,I see your point. Unless I am missing something these requests should be
not the kernel. At least this what should happen here.
held equally to bio requests from multipath layer. Let us say app
submitted write a request that got canceled immediately, how does the app
know when it is safe to retry the write request?
start to retry passthru IO commands, we have to figure out how to pass
additional information to the userland.
nothing prevents userspace from retrying canceled command immediately
resulting in the unwanted behavior these very patches try to address.
Okay. This will be addressed in the next revision, right?Holding requests like write until it is safe to be retried is the wholeMy first goal was to address the IO commands submitted via the block
point of this work, right?
layer. I didn't had the IO passthru interface on my radar. I agree,
getting the IO passthru path correct is also good idea.