Home
last modified time | relevance | path

Searched hist:"796 d2068" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Dtrace-events796d2068 Thu Jun 17 14:06:54 CDT 2021 Klaus Jensen <k.jensen@samsung.com> 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>
H A Dctrl.c796d2068 Thu Jun 17 14:06:54 CDT 2021 Klaus Jensen <k.jensen@samsung.com> 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>