diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-06-17 21:06:47 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-06-29 07:16:25 +0200 |
commit | 38f4ac65ac88ebf4f1869c1361f40b1817b4a39c (patch) | |
tree | 9fdad6e6b8b8f6b3f8924eaacd23c416f7690bb0 /monitor | |
parent | 3276dde4f262588f3645f2adbc84d07cb6981d3e (diff) | |
download | qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.zip qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.tar.gz qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.tar.bz2 |
hw/nvme: reimplement flush to allow cancellation
Prior to this patch, a broadcast flush would result in submitting
multiple "fire and forget" aios (no reference saved to the aiocbs
returned from the blk_aio_flush calls).
Fix this by issuing the flushes one after another.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'monitor')
0 files changed, 0 insertions, 0 deletions