From: Stefan Hajnoczi <stefanha@redhat.com>
To: Sam Li <faithilikerun@gmail.com>
Cc: qemu-devel@nongnu.org, Fam Zheng <fam@euphon.net>,
hare@suse.de, Hanna Reitz <hreitz@redhat.com>,
dmitry.fomichev@wdc.com, Julia Suvorova <jusual@redhat.com>,
Stefano Garzarella <sgarzare@redhat.com>,
damien.lemoal@opensource.wdc.com,
Aarushi Mehta <mehta.aaru20@gmail.com>,
Kevin Wolf <kwolf@redhat.com>,
qemu-block@nongnu.org
Subject: Re: [PATCH v8 2/4] block: introduce zone append write for zoned devices
Date: Wed, 5 Apr 2023 16:32:51 -0400 [thread overview]
Message-ID: <20230405203251.GE676473@fedora> (raw)
In-Reply-To: <20230404153239.32234-3-faithilikerun@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
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>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2023-04-05 20:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 15:32 [PATCH v8 0/4] Add zone append write for zoned device Sam Li
2023-04-04 15:32 ` [PATCH v8 1/4] file-posix: add tracking of the zone write pointers Sam Li
2023-04-05 20:26 ` Stefan Hajnoczi
2023-04-04 15:32 ` [PATCH v8 2/4] block: introduce zone append write for zoned devices Sam Li
2023-04-05 20:32 ` Stefan Hajnoczi [this message]
2023-04-04 15:32 ` [PATCH v8 3/4] qemu-iotests: test zone append operation Sam Li
2023-04-04 15:32 ` [PATCH v8 4/4] block: add some trace events for zone append Sam Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230405203251.GE676473@fedora \
--to=stefanha@redhat.com \
--cc=damien.lemoal@opensource.wdc.com \
--cc=dmitry.fomichev@wdc.com \
--cc=faithilikerun@gmail.com \
--cc=fam@euphon.net \
--cc=hare@suse.de \
--cc=hreitz@redhat.com \
--cc=jusual@redhat.com \
--cc=kwolf@redhat.com \
--cc=mehta.aaru20@gmail.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sgarzare@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).