scsi: don't lock AioContext in I/O code path
commit14042268045596a89f3fae3606389536d4784113
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 4 Dec 2023 16:42:58 +0000 (4 11:42 -0500)
committerKevin Wolf <kwolf@redhat.com>
Thu, 21 Dec 2023 21:49:27 +0000 (21 22:49 +0100)
tree7924ce30c85e67224bdfeb08d93c9fdcb7b46bc7
parent765ca516069a40e2ea7081997a508892db084c8e
scsi: don't lock AioContext in I/O code path

blk_aio_*() doesn't require the AioContext lock and the SCSI subsystem's
internal state also does not anymore.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231204164259.1515217-4-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi/scsi-disk.c
hw/scsi/scsi-generic.c