aboutsummaryrefslogtreecommitdiff
path: root/block/block-backend.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-07-19 11:26:13 +0200
committerKevin Wolf <kwolf@redhat.com>2019-07-19 13:19:16 +0200
commit1b285657687c7f08761759092fa05fa33578fc00 (patch)
tree4cddc465ff9b0adb3ed2d25f204ce1d29ef52dda /block/block-backend.c
parentf4c8a43be080fc919bc1ba18e70d83eb0e5be7ec (diff)
tests: Lock AioContexts in test-block-iothread
When changing a node's AioContext, the caller must acquire the old AioContext (unless it currently runs in that old context). Therefore, unless the node currently is in the main context, we always have to acquire the old context around calls that may change a node's AioContext. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/block-backend.c')
0 files changed, 0 insertions, 0 deletions