diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-06-17 21:06:55 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-06-29 07:16:25 +0200 |
commit | 63d96e4ffd71a4ac2769448a567d46ed71e5bdd6 (patch) | |
tree | 1db8fb6d3980b290e461c7db76ea6bc5e677a606 /module-common.c | |
parent | 796d20681d9bef4f863565f1a2f2dbe28e2322c7 (diff) |
hw/nvme: reimplement zone reset to allow cancellation
Prior to this patch, the aios associated with zone reset are submitted
anonymously (no reference saved to the aiocb from the blk_aio call).
Fix this by resetting the zones one after another, saving a reference to
the aiocb for each reset.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions