Skip to content

hw/nvme: misc fixes and updates

Klaus Jensen qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12hw/nvme: fix incorrect use of errp/local_errhw/nvme/ctrl.c+23 -250 replies
2/12hw/nvme: remove redundant passing of PCIDevicehw/nvme/ctrl.c+13 -80 replies
3/12hw/nvme: cleanup error reporting in nvme_init_pci()hw/nvme/ctrl.c+6 -60 replies
4/12hw/nvme: fix numzrwa handlinghw/nvme/ctrl.c hw/nvme/ns.c+4 -80 replies
5/12hw/nvme: fix accidental reintroduction of redundant codehw/nvme/ctrl.c+1 -40 replies
6/12hw/nvme: fix cancellation of format operationshw/nvme/ctrl.c+3 -00 replies
7/12hw/nvme: fix flush cancelhw/nvme/ctrl.c+1 -00 replies
8/12hw/nvme: rework flush bh schedulinghw/nvme/ctrl.c+19 -130 replies
9/12hw/nvme: improve cancellation handling in zone resethw/nvme/ctrl.c+7 -80 replies
10/12hw/nvme: improve cancellation handling in dsmhw/nvme/ctrl.c+4 -100 replies
11/12hw/nvme: simplify copy command error handlinghw/nvme/ctrl.c+12 -380 replies
12/12hw/nvme: align logic of format with flushhw/nvme/ctrl.c+26 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] hw/nvme: misc fixes and updates

From: Klaus Jensen <[email protected]>

This series includes a couple of misc fixes as well as some cleanup pertaining to the aio handling in flush, dsm, copy and zone reset. As Jinhao gets around to iothread stuff, it might come in handy to have this stuff cleaned up a bit.

Dmitrys fix (nvme-next commit "hw/nvme: add missing return statement") for dsm prompted me to audit the flush, dsm, zone reset and copy code and that resulted in the discovery of some bugs and some general clean up.

Klaus Jensen (12):
hw/nvme: fix incorrect use of errp/local_err hw/nvme: remove redundant passing of PCIDevice hw/nvme: cleanup error reporting in nvme_init_pci() hw/nvme: fix numzrwa handling
hw/nvme: fix accidental reintroduction of redundant code hw/nvme: fix cancellation of format operations hw/nvme: fix flush cancel
hw/nvme: rework flush bh scheduling
hw/nvme: improve cancellation handling in zone reset hw/nvme: improve cancellation handling in dsm hw/nvme: simplify copy command error handling hw/nvme: align logic of format with flush

 hw/nvme/ctrl.c | 252 +++++++++++++++++++++++--------------------------
 hw/nvme/ns.c   |   4 +-
 2 files changed, 119 insertions(+), 137 deletions(-)
Signature · 1 line
2.36.1