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

Guixin Liu kanie at linux.alibaba.com
Tue Feb 27 18:21:57 PST 2024


在 2024/2/28 08:40, Sagi Grimberg 写道:
> Hey Guixin,
>
> On 01/02/2024 4:32, Guixin Liu wrote:
>> This patch implements the reservation feature, includes:
>> 1. reservation register(register, unregister and replace).
>> 2. reservation acquire(acquire, preempt, preempt and abort).
>
>
> Overall patchset looks in decent shape to me now.
>
> I do have one more question though.
My thanks for your patient review.
>
> You say that this patchset implements preempt and abort, however I 
> don't see how this is actually implemented or even how can it be 
> implemented at all at this point.

Yes, the nvme target does not do any useful workto abort command, the 
comment of nvmet_execute_abort() says that

"we are not required to do any useful work, and we couldn't really do a 
useful abort",

so I don't know what to do about preempt and abort, and the NVMe spec 
says that the abort is best effor.

My statement here may be a little inaccurate.

Best Regards,

Guixin Liu




More information about the Linux-nvme mailing list