Add zoned storage emulation to virtio-blk driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v11 Latest4 patches 0 repliesNew
- v105 patches 1 replyApplied
- v9 posting 3/35 patches 4 repliesSuperseded
Earlier versions · 9
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v9 posting 2/3 | 3 of 5 patches | 1 reply | Superseded | |
| v9 posting 1/3 | 3 of 5 patches | 0 replies | Superseded | |
| v8 | 4 patches | 7 replies | Superseded | |
| v7 | 4 patches | 4 replies | Superseded | |
| v6 RFC | 4 patches | 4 replies | Superseded | |
| v5 RFC | 3 patches | 3 replies | Superseded | |
| v4 RFC | 3 patches | 5 replies | Superseded | |
| v3 RFC | 2 patches | 6 replies | Superseded | |
| v2 | 2 patches | 5 replies | Superseded |
Changes in v11 from the cover letter
- drop update virtio-blk header patch
- fix CI issues [Stefan]
Patches in v11 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | virtio-blk: add zoned storage emulation for zoned deviceshw/ hw/ hw/ | +393 | 0 replies | |
| 2/4 | block: add accounting for zone append operationblock/ block/ hw/ +4 more | +113 | 0 replies | |
| 3/4 | virtio-blk: add some trace events for zoned emulationhw/ hw/ | +19 | 0 replies | |
| 4/4 | docs/zoned-storage:add zoned emulation use casedocs/ | +17 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v11 0/4] Add zoned storage emulation to virtio-blk driver
This patch adds zoned storage emulation to the virtio-blk driver. It implements the virtio-blk ZBD support standardization that is recently accepted by virtio-spec. The link to related commit is at
https://github.com/oasis-tcs/virtio-spec/commit/b4e8efa0fa6c8d844328090ad15db65af8d7d981
The Linux zoned device code that implemented by Dmitry Fomichev has been released at the latest Linux version v6.3-rc1.
Aside: adding zoned=on alike options to virtio-blk device will be considered in following-up plan.
v11:
- drop update virtio-blk header patch
- fix CI issues [Stefan]
v10:
- adapt to the latest zone-append patches: rename bs->bl.wps to bs->wps
v9:
- address review comments
* add docs for zoned emulation use case [Matias]
* add the zoned feature bit to qmp monitor [Matias]
* add the version number for newly added configs of accounting [Markus]
v8:
- address Stefan's review comments
* rm aio_context_acquire/release in handle_req
* rename function return type
* rename BLOCK_ACCT_APPEND to BLOCK_ACCT_ZONE_APPEND for clarity
v7:
- update headers to v6.3-rc1
v6:
- address Stefan's review comments
* add accounting for zone append operation
* fix in_iov usage in handle_request, error handling and typos
v5:
- address Stefan's review comments
* restore the way writing zone append result to buffer
* fix error checking case and other errands
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 (4):
virtio-blk: add zoned storage emulation for zoned devices
block: add accounting for zone append operation
virtio-blk: add some trace events for zoned emulation docs/zoned-storage:add zoned emulation use case
block/qapi-sysemu.c | 11 + block/qapi.c | 18 ++ docs/devel/zoned-storage.rst | 17 ++ hw/block/trace-events | 7 + hw/block/virtio-blk-common.c | 2 + hw/block/virtio-blk.c | 405 +++++++++++++++++++++++++++++++++++ hw/virtio/virtio-qmp.c | 2 + include/block/accounting.h | 1 + qapi/block-core.json | 68 +++++- qapi/block.json | 4 + tests/qemu-iotests/227.out | 18 ++ 11 files changed, 542 insertions(+), 11 deletions(-)
Signature · 1 line
2.40.0