[PATCH] nvmet: support reservation feature

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Jan 9 20:36:57 PST 2024


On 1/9/24 19:19, Guixin Liu wrote:
>
> 在 2024/1/10 01:01, Keith Busch 写道:
>> On Tue, Jan 09, 2024 at 08:10:08PM +0800, 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).
>>> 3. reservation release(release and clear).
>>> 4. reservation report.
>>>
>>> And also make reservation configurable, one can set ns to support
>>> reservation before enable ns. The default of resv_enable is false.
>>>
>>> Signed-off-by: Guixin Liu<kanie at linux.alibaba.com>
>>> ---
>>> Hi guys,
>>>      I've implemented the NVMe reservation feature. Please review 
>>> it, all
>>> comments are welcome.
>> Why? If you have a real use case, let's add a blktest example added to
>> that project.
> OK, I will research the blktests, and add some tests.

Here is it :- https://github.com/osandov/blktests

Please CC me and Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>
when you send tests.

-ck




More information about the Linux-nvme mailing list