commit | 3bcf26d3d6192e350b165c681aff13f6697f30fb | [log] [tgz] |
---|---|---|
author | Klaus Jensen <k.jensen@samsung.com> | Thu Jun 17 21:06:56 2021 +0200 |
committer | Klaus Jensen <k.jensen@samsung.com> | Tue Jun 29 07:16:25 2021 +0200 |
tree | bd1e5feed0865d40a958ae4ce31bad29fe9befa3 | |
parent | 63d96e4ffd71a4ac2769448a567d46ed71e5bdd6 [diff] |
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 <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org>