Skip to content

Commit

Permalink
hw/nvme: reimplement the copy command to allow aio cancellation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
birkelund committed Jun 29, 2021
1 parent f1c9740 commit 796d206
Show file tree
Hide file tree
Showing 2 changed files with 370 additions and 311 deletions.
Loading

0 comments on commit 796d206

Please sign in to comment.