Skip to content

hw/nvme: aio cancel fixes

Klaus Jensen qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hw/nvme: fix aio cancel in formathw/nvme/ctrl.c+12 -151 reply
2/5hw/nvme: fix aio cancel in flushhw/nvme/ctrl.c+6 -150 replies
3/5hw/nvme: fix aio cancel in zone resethw/nvme/ctrl.c+11 -250 replies
4/5hw/nvme: fix aio cancel in dsmhw/nvme/ctrl.c+8 -260 replies
5/5hw/nvme: remove copy bh schedulinghw/nvme/ctrl.c+14 -490 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchKeith Busch
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH for-7.2 0/5] hw/nvme: aio cancel fixes

From: Klaus Jensen <[email protected]>

A new blktests nvme test unearthed some bad bugs in the asynchronous cancellation handling.

Fix this for all commands that implement async_cancel(). The fix is the same for all commands: remove the deferred enqueuing (a bottom half scheduling) of the request completion.

Klaus Jensen (5):
hw/nvme: fix aio cancel in format
hw/nvme: fix aio cancel in flush
hw/nvme: fix aio cancel in zone reset
hw/nvme: fix aio cancel in dsm
hw/nvme: remove copy bh scheduling

 hw/nvme/ctrl.c | 181 ++++++++++++++-----------------------------------
 1 file changed, 51 insertions(+), 130 deletions(-)
Signature · 1 line
2.38.1