]> git.proxmox.com Git - mirror_qemu.git/commit - include/block/block-io.h
block: introduce zone append write for zoned devices
authorSam Li <faithilikerun@gmail.com>
Mon, 8 May 2023 05:15:08 +0000 (13:15 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 15 May 2023 12:18:10 +0000 (08:18 -0400)
commit4751d09adcc3dd76b4124f5c408055ee0940b3ee
treea629f4ce1ef6be4c2c66995eb8b32b5d13c5dbe0
parenta3c41f06d5a84bc2263e871b1e9fa4daba7edf0f
block: introduce zone append write for zoned devices

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>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20230508051510.177850-3-faithilikerun@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/block-backend.c
block/file-posix.c
block/io.c
block/io_uring.c
block/linux-aio.c
block/raw-format.c
include/block/block-io.h
include/block/block_int-common.h
include/block/raw-aio.h
include/sysemu/block-backend-io.h