[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 01/10] block: add persistent reservation in/out api
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v6 01/10] block: add persistent reservation in/out api |
Date: |
Wed, 26 Jun 2024 16:05:51 -0400 |
On Thu, Jun 13, 2024 at 03:13:18PM +0800, Changqi Lu wrote:
> Add persistent reservation in/out operations
> at the block level. The following operations
> are included:
>
> - read_keys: retrieves the list of registered keys.
> - read_reservation: retrieves the current reservation status.
> - register: registers a new reservation key.
> - reserve: initiates a reservation for a specific key.
> - release: releases a reservation for a specific key.
> - clear: clears all existing reservations.
> - preempt: preempts a reservation held by another key.
>
> Signed-off-by: Changqi Lu <luchangqi.123@bytedance.com>
> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
> ---
> block/block-backend.c | 403 ++++++++++++++++++++++++++++++
> block/io.c | 163 ++++++++++++
> include/block/block-common.h | 40 +++
> include/block/block-io.h | 20 ++
> include/block/block_int-common.h | 84 +++++++
> include/sysemu/block-backend-io.h | 24 ++
> 6 files changed, 734 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH v6 00/10] Support persistent reservation operations, Changqi Lu, 2024/06/13
- [PATCH v6 02/10] block/raw: add persistent reservation in/out driver, Changqi Lu, 2024/06/13
- [PATCH v6 01/10] block: add persistent reservation in/out api, Changqi Lu, 2024/06/13
- Re: [PATCH v6 01/10] block: add persistent reservation in/out api,
Stefan Hajnoczi <=
- [PATCH v6 03/10] scsi/constant: add persistent reservation in/out protocol constants, Changqi Lu, 2024/06/13
- [PATCH v6 04/10] scsi/util: add helper functions for persistent reservation types conversion, Changqi Lu, 2024/06/13
- [PATCH v6 05/10] hw/scsi: add persistent reservation in/out api for scsi device, Changqi Lu, 2024/06/13
- [PATCH v6 06/10] block/nvme: add reservation command protocol constants, Changqi Lu, 2024/06/13
- [PATCH v6 07/10] hw/nvme: add helper functions for converting reservation types, Changqi Lu, 2024/06/13
- [PATCH v6 08/10] hw/nvme: enable ONCS and rescap function, Changqi Lu, 2024/06/13
- [PATCH v6 09/10] hw/nvme: add reservation protocal command, Changqi Lu, 2024/06/13
- [PATCH v6 10/10] block/iscsi: add persistent reservation in/out driver, Changqi Lu, 2024/06/13