[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 05/10] hw/scsi: add persistent reservation in/out api for
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v8 05/10] hw/scsi: add persistent reservation in/out api for scsi device |
Date: |
Thu, 11 Jul 2024 15:01:17 +0200 |
On Tue, Jul 09, 2024 at 10:47:01AM +0800, Changqi Lu wrote:
> Add persistent reservation in/out operations in the
> SCSI device layer. By introducing the persistent
> reservation in/out api, this enables the SCSI device
> to perform reservation-related tasks, including querying
> keys, querying reservation status, registering reservation
> keys, initiating and releasing reservations, as well as
> clearing and preempting reservations held by other keys.
>
> These operations are crucial for management and control of
> shared storage resources in a persistent manner.
>
> Signed-off-by: Changqi Lu <luchangqi.123@bytedance.com>
> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
> ---
> hw/scsi/scsi-disk.c | 368 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 368 insertions(+)
Paolo: Please review this patch, I'm not familiar enough with hw/scsi/.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH v8 01/10] block: add persistent reservation in/out api, (continued)
- [PATCH v8 00/10] Support persistent reservation operations, Changqi Lu, 2024/07/08
- [PATCH v8 01/10] block: add persistent reservation in/out api, Changqi Lu, 2024/07/08
- [PATCH v8 02/10] block/raw: add persistent reservation in/out driver, Changqi Lu, 2024/07/08
- [PATCH v8 03/10] scsi/constant: add persistent reservation in/out protocol constants, Changqi Lu, 2024/07/08
- [PATCH v8 04/10] scsi/util: add helper functions for persistent reservation types conversion, Changqi Lu, 2024/07/08
- [PATCH v8 07/10] hw/nvme: add helper functions for converting reservation types, Changqi Lu, 2024/07/08
- [PATCH v8 06/10] block/nvme: add reservation command protocol constants, Changqi Lu, 2024/07/08
- [PATCH v8 05/10] hw/scsi: add persistent reservation in/out api for scsi device, Changqi Lu, 2024/07/08
- Re: [PATCH v8 05/10] hw/scsi: add persistent reservation in/out api for scsi device,
Stefan Hajnoczi <=
- [PATCH v8 08/10] hw/nvme: enable ONCS and rescap function, Changqi Lu, 2024/07/08
- [PATCH v8 09/10] hw/nvme: add reservation protocal command, Changqi Lu, 2024/07/08
- [PATCH v8 10/10] block/iscsi: add persistent reservation in/out driver, Changqi Lu, 2024/07/08