commit | 796d20681d9bef4f863565f1a2f2dbe28e2322c7 | [log] [tgz] |
---|---|---|
author | Klaus Jensen <k.jensen@samsung.com> | Thu Jun 17 21:06:54 2021 +0200 |
committer | Klaus Jensen <k.jensen@samsung.com> | Tue Jun 29 07:16:25 2021 +0200 |
tree | 9efd91615ef93385710941badfab04984ecb6364 | |
parent | f1c97407c5728e284b4e2b331e08c0d88ba568da [diff] |
hw/nvme: reimplement the copy command to allow aio cancellation Before this patch the code would issue several aios simultaneously without saving a reference to the aiocb. Without the aiocb reference the individual copies cannot be canceled. Fix this by issuing copies of the ranges one after another. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org>