block: Propagate AioContext change to parents
commit53a7d041858a6787a43012fd04ccf0258389a95d
authorKevin Wolf <kwolf@redhat.com>
Mon, 6 May 2019 17:17:59 +0000 (6 19:17 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 20 May 2019 15:08:56 +0000 (20 17:08 +0200)
tree6be7bbe4c54cbcd9fe4e1ca73e1013ccb5b8c324
parent0d83708a1d2effc5d905cd1d61d0ef47d310ad88
block: Propagate AioContext change to parents

All block nodes and users in any connected component of the block graph
must be in the same AioContext, so changing the AioContext of one node
must not only change all of its children, but all of its parents (and
in turn their children etc.) as well.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block.h
include/block/block_int.h