aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/virtio-scsi-dataplane.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2023-09-14 10:01:00 -0400
committerKevin Wolf <kwolf@redhat.com>2023-12-21 22:49:27 +0100
commitc1135913c655ecfac2f3074671663f4251c8177f (patch)
tree2568d85321dc64445b3038ac4a3001f20a0d6928 /hw/scsi/virtio-scsi-dataplane.c
parent9c67f33fcab654d6b7f9f4236c5a21ea946e0931 (diff)
downloadqemu-c1135913c655ecfac2f3074671663f4251c8177f.zip
qemu-c1135913c655ecfac2f3074671663f4251c8177f.tar.gz
qemu-c1135913c655ecfac2f3074671663f4251c8177f.tar.bz2
virtio-blk: don't lock AioContext in the completion code path
Nothing in the completion code path relies on the AioContext lock anymore. Virtqueues are only accessed from one thread at any moment and the s->rq global state is protected by its own lock now. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20230914140101.1065008-4-stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi/virtio-scsi-dataplane.c')
0 files changed, 0 insertions, 0 deletions