]> git.ipfire.org Git - thirdparty/qemu.git/commit
scsi: track per-SCSIRequest AioContext
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 11 Mar 2025 13:26:06 +0000 (21:26 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Mar 2025 16:57:23 +0000 (17:57 +0100)
commit7eecba37788f48d34c015954f1207cc7b52728f5
tree3079d23a4c6c5d0c524a02a99c2d71302f0d60b4
parenta89c3c9b2cc4107658c7260ecf329d869888fd51
scsi: track per-SCSIRequest AioContext

Until now, a SCSIDevice's I/O requests have run in a single AioContext.
In order to support multiple IOThreads it will be necessary to move to
the concept of a per-SCSIRequest AioContext.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20250311132616.1049687-4-stefanha@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
include/hw/scsi/scsi.h