summary refs log tree commit diff stats
path: root/job.c
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2022-10-25 04:49:49 -0400
committerKevin Wolf <kwolf@redhat.com>2022-10-27 20:14:11 +0200
commitf8be48adf08641f43dfb34b6abf50f9bc21fc250 (patch)
tree587995fd082d94b8c1af205da728d7e4957e73ee /job.c
parent33949396216fa16a97f5b33877b50d5830f21aad (diff)
downloadfocaccia-qemu-f8be48adf08641f43dfb34b6abf50f9bc21fc250.tar.gz
focaccia-qemu-f8be48adf08641f43dfb34b6abf50f9bc21fc250.zip
block: use the new _change_ API instead of _can_set_ and _set_
Replace all direct usage of ->can_set_aio_ctx and ->set_aio_ctx,
and call bdrv_child_try_change_aio_context() in
bdrv_try_set_aio_context(), the main function called through
the whole block layer.

From this point onwards, ->can_set_aio_ctx and ->set_aio_ctx
won't be used anymore.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221025084952.2139888-8-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'job.c')
0 files changed, 0 insertions, 0 deletions