[PATCH] nvme: ignore starting sector while error logging for passthrough requests

Christoph Hellwig hch at lst.de
Tue Oct 18 08:26:03 PDT 2022


On Tue, Oct 18, 2022 at 09:23:37AM -0600, Keith Busch wrote:
> What's the preferred opt-in mechanism? If we want to do it per-command,
> we have an unsused 'flags' field in the ioctl structures that we can
> start defining options for these kinds of things. If we don't want that
> level of fine grained control, we could set it at the controller or
> module level with a new sysfs file, though I'm not sure this warrants
> creating new exports there.

The flags field is what I had in mind.  There's also another thing
on the plate as some folks really want to opt into kernel error
handling for passthrough commands, and that seems to be the only
way to do it.



More information about the Linux-nvme mailing list