[PATCH] nvme-loop: set blocking flag
Christoph Hellwig
hch at lst.de
Thu Oct 17 22:10:56 PDT 2024
On Thu, Oct 17, 2024 at 12:04:21PM -0600, Keith Busch wrote:
> > Looks fine to me, but might be worth looking at doing that a bit
> > differently so that the target loop driver can remain non-blocking
> > as it should be considerably more efficient.
>
> That's what I first looked at, but it's too hard. Maybe if we can make a
> lookup that doesn't rely on searching the configfs group, but it's
> definitely not this nice one-liner patch. :)
Searching configfs in the I/O path sounds like a train wreck no matter
what. I feel a bit bad for not noticing that earlier.
Let me see what I can do.
More information about the Linux-nvme
mailing list