]> Git Repo - qemu.git/commit
hw/nvme: reimplement format nvm to allow cancellation
authorKlaus Jensen <[email protected]>
Thu, 17 Jun 2021 19:06:56 +0000 (21:06 +0200)
committerKlaus Jensen <[email protected]>
Tue, 29 Jun 2021 05:16:25 +0000 (07:16 +0200)
commit3bcf26d3d6192e350b165c681aff13f6697f30fb
treebd1e5feed0865d40a958ae4ce31bad29fe9befa3
parent63d96e4ffd71a4ac2769448a567d46ed71e5bdd6
hw/nvme: reimplement format nvm to allow cancellation

Prior to this patch, the aios associated with broadcast format are
submitted anonymously (no aiocb reference saved from the blk_aio call).

Fix this by formatting the namespaces one after another, saving a
reference to the aiocb for each.

Signed-off-by: Klaus Jensen <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
hw/nvme/ctrl.c
hw/nvme/trace-events
This page took 0.032007 seconds and 4 git commands to generate.