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

Sagi Grimberg sagi at grimberg.me
Sat Mar 23 13:41:34 PDT 2024



On 22/03/2024 11:34, Chaitanya Kulkarni wrote:
> 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 ?

Yes, the latter.



More information about the Linux-nvme mailing list