diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-09-14 10:00:59 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-12-21 22:49:27 +0100 |
commit | 9c67f33fcab654d6b7f9f4236c5a21ea946e0931 (patch) | |
tree | 305d87db8028e566d332a9249c2f686b1f6ed7ff /stubs/virtio-md-pci.c | |
parent | cd0c0db0aa905af9b72735d5ea40cb41206c7ca8 (diff) |
virtio-blk: add lock to protect s->rq
s->rq is accessed from IO_CODE and GLOBAL_STATE_CODE. Introduce a lock
to protect s->rq and eliminate reliance on the AioContext lock.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230914140101.1065008-3-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 'stubs/virtio-md-pci.c')
0 files changed, 0 insertions, 0 deletions