From: Sam Li <faithilikerun@gmail.com>
To: qemu-devel@nongnu.org
Cc: Raphael Norwitz <raphael.norwitz@nutanix.com>,
stefanha@redhat.com, damien.lemoal@opensource.wdc.com,
"Michael S. Tsirkin" <mst@redhat.com>,
Kevin Wolf <kwolf@redhat.com>,
hare@suse.de, Hanna Reitz <hreitz@redhat.com>,
qemu-block@nongnu.org, dmitry.fomichev@wdc.com,
Sam Li <faithilikerun@gmail.com>
Subject: [RFC v4 0/3] Add zoned storage emulation to virtio-blk driver
Date: Sun, 30 Oct 2022 05:32:39 -0400 [thread overview]
Message-ID: <20221030093242.208839-1-faithilikerun@gmail.com> (raw)
Note: the virtio-blk headers isn't upstream in the kernel yet therefore
marked as an RFC. More information can be found here:
https://patchwork.kernel.org/project/linux-block/cover/20221030043545.974223-1-dmitry.fomichev@wdc.com/
v4:
- change the way writing zone append request result to buffer
- change zone state, zone type value of virtio_blk_zone_descriptor
- add trace events for new zone APIs
v3:
- use qemuio_from_buffer to write status bit [Stefan]
- avoid using req->elem directly [Stefan]
- fix error checkings and memory leak [Stefan]
v2:
- change units of emulated zone op coresponding to block layer APIs
- modify error checking cases [Stefan, Damien]
v1:
- add zoned storage emulation
Sam Li (3):
include: update virtio_blk headers
virtio-blk: add zoned storage emulation for zoned devices
virtio-blk: add some trace events for zoned emulation
hw/block/trace-events | 7 +
hw/block/virtio-blk-common.c | 2 +
hw/block/virtio-blk.c | 399 ++++++++++++++++++++
include/standard-headers/linux/virtio_blk.h | 158 +++++++-
4 files changed, 550 insertions(+), 16 deletions(-)
--
2.38.1
next reply other threads:[~2022-10-30 9:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-30 9:32 Sam Li [this message]
2022-10-30 9:32 ` [RFC v4 1/3] include: update virtio_blk headers Sam Li
2022-10-30 9:32 ` [RFC v4 2/3] virtio-blk: add zoned storage emulation for zoned devices Sam Li
2022-11-02 20:58 ` Stefan Hajnoczi
2022-11-04 1:22 ` Sam Li
2022-10-30 9:32 ` [RFC v4 3/3] virtio-blk: add some trace events for zoned emulation Sam Li
2022-11-02 21:01 ` Stefan Hajnoczi
2022-11-02 21:21 ` Philippe Mathieu-Daudé
2022-11-04 1:14 ` 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=20221030093242.208839-1-faithilikerun@gmail.com \
--to=faithilikerun@gmail.com \
--cc=damien.lemoal@opensource.wdc.com \
--cc=dmitry.fomichev@wdc.com \
--cc=hare@suse.de \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=raphael.norwitz@nutanix.com \
--cc=stefanha@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).