[PATCH] nvme-loop: set blocking flag

Sagi Grimberg sagi at grimberg.me
Tue Oct 22 02:25:13 PDT 2024




On 22/10/2024 9:28, Christoph Hellwig wrote:
> On Mon, Oct 21, 2024 at 12:35:17AM +0300, Sagi Grimberg wrote:
>>> Let me see what I can do.
>> Note, the search is ONLY in the error case, i.e. when nsid is not found in
>> subsys->namespaces.
> Which kinda makes it worse as we use an unusual context just from
> that rare error path.
>

I'd say that introducing this search in the hot path not only for error 
cases
would be worse :)

Yes, nvme-loop was an oversight.



More information about the Linux-nvme mailing list