[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 2/4] block: introduce zone append write for zoned devices
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v8 2/4] block: introduce zone append write for zoned devices |
Date: |
Wed, 5 Apr 2023 16:32:51 -0400 |
On Tue, Apr 04, 2023 at 11:32:37PM +0800, Sam Li wrote:
> A zone append command is a write operation that specifies the first
> logical block of a zone as the write position. When writing to a zoned
> block device using zone append, the byte offset of the call may point at
> any position within the zone to which the data is being appended. Upon
> completion the device will respond with the position where the data has
> been written in the zone.
>
> Signed-off-by: Sam Li <faithilikerun@gmail.com>
> Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
> ---
> block/block-backend.c | 60 +++++++++++++++++++++++++++++++
> block/file-posix.c | 56 +++++++++++++++++++++++++----
> block/io.c | 27 ++++++++++++++
> block/io_uring.c | 4 +++
> block/linux-aio.c | 3 ++
> block/raw-format.c | 8 +++++
> include/block/block-io.h | 4 +++
> include/block/block_int-common.h | 3 ++
> include/block/raw-aio.h | 4 ++-
> include/sysemu/block-backend-io.h | 9 +++++
> 10 files changed, 171 insertions(+), 7 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature