Searched hist:"132 ada80c4a6fea7b67e8bb0a5fd299994d927c6" (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/ |
H A D | blockjob.c | diff 132ada80c4a6fea7b67e8bb0a5fd299994d927c6 Wed Apr 24 10:41:46 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Adjust AioContexts when attaching nodes
So far, we only made sure that updating the AioContext of a node affected the whole subtree. However, if a node is newly attached to a new parent, we also need to make sure that both the subtree of the node and the parent are in the same AioContext. This tries to move the new child node to the parent AioContext and returns an error if this isn't possible.
BlockBackends now actually apply their AioContext to their root node.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | block.c | diff 132ada80c4a6fea7b67e8bb0a5fd299994d927c6 Wed Apr 24 10:41:46 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Adjust AioContexts when attaching nodes
So far, we only made sure that updating the AioContext of a node affected the whole subtree. However, if a node is newly attached to a new parent, we also need to make sure that both the subtree of the node and the parent are in the same AioContext. This tries to move the new child node to the parent AioContext and returns an error if this isn't possible.
BlockBackends now actually apply their AioContext to their root node.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/block/ |
H A D | block-backend.c | diff 132ada80c4a6fea7b67e8bb0a5fd299994d927c6 Wed Apr 24 10:41:46 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Adjust AioContexts when attaching nodes
So far, we only made sure that updating the AioContext of a node affected the whole subtree. However, if a node is newly attached to a new parent, we also need to make sure that both the subtree of the node and the parent are in the same AioContext. This tries to move the new child node to the parent AioContext and returns an error if this isn't possible.
BlockBackends now actually apply their AioContext to their root node.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/include/block/ |
H A D | block_int.h | diff 132ada80c4a6fea7b67e8bb0a5fd299994d927c6 Wed Apr 24 10:41:46 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Adjust AioContexts when attaching nodes
So far, we only made sure that updating the AioContext of a node affected the whole subtree. However, if a node is newly attached to a new parent, we also need to make sure that both the subtree of the node and the parent are in the same AioContext. This tries to move the new child node to the parent AioContext and returns an error if this isn't possible.
BlockBackends now actually apply their AioContext to their root node.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|