[PATCH v7 1/1] nvmet: support reservation feature

Chaitanya Kulkarni chaitanyak at nvidia.com
Fri Mar 22 02:34:36 PDT 2024


Christoph,

On 3/21/2024 2:02 PM, hch at lst.de wrote:
> On Wed, Mar 20, 2024 at 11:16:29AM +0200, Sagi Grimberg wrote:
>> That's a neat idea, we also have file to think about though.
> 
> Indeed.  It still would be good to avoid the extra overhead when not
> needed, though.

I still don't understand how this solves the case for file back-end ?
can you please explain in detail ?

as far as I can there is no equivalent provision that we can use for
file back-end as you have suggested for block (bio/blk-mq)back-end,
if there is can you please provide some details ?

In case there is no such provision, how do you see file backends to
handle this case ? perhaps you are referring to use above suggested
mechanism for block backend and implement percpu-ref to for file only
backend so we can keep the code clean for bio and passthru back-end vs
file back-end ?

-ck




More information about the Linux-nvme mailing list