virtio-blk: Add support for FUA write requests
Status from this message: Thanks, applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | include: Add virtio-blk request flag FUA definitionsinclude/ | +11 | 3 replies | |
| 2/2 | virtio-blk: Add support for FUA write requestshw/ hw/ hw/ +1 more | +33 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] virtio-blk: Add support for FUA write requests
virtio-blk FUA write support has been introduced to the virtio spec [1], and a kernel patch is under review [2]. This patch enables FUA on the virtio-blk device, so guests can submit FUA writes instead of the slower alternative of a regular write followed by a flush.
A simple randwrite fio workload on a RAM disk (bs=4k, iodepth=1, direct=1, sync=1) shows a throughput improvement of 17.1k IOPS to 27.7k IOPS (+62%).
[1] https://lore.kernel.org/virtio-comment/[email protected]/
[2] https://lore.kernel.org/linux-block/[email protected]/
Alberto Faria (2):
include: Add virtio-blk request flag FUA definitions
virtio-blk: Add support for FUA write requests
hw/block/virtio-blk.c | 27 +++++++++++++++++++++ hw/core/machine.c | 1 + hw/virtio/virtio-qmp.c | 4 +++ include/hw/virtio/virtio-blk.h | 1 + include/standard-headers/linux/virtio_blk.h | 13 ++++++++-- 5 files changed, 44 insertions(+), 2 deletions(-)
Signature · 1 line
2.56.0