diff options
| author | Klaus Jensen | 2021-06-17 21:06:47 +0200 |
|---|---|---|
| committer | Klaus Jensen | 2021-06-29 07:16:25 +0200 |
| commit | 38f4ac65ac88ebf4f1869c1361f40b1817b4a39c (patch) | |
| tree | 9fdad6e6b8b8f6b3f8924eaacd23c416f7690bb0 /include | |
| parent | hw/nvme: default for namespace EUI-64 (diff) | |
| download | qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.tar.gz qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.tar.xz qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
