-
Kevin Wolf authored
bdrv_append() cares about isolation of the node that it modifies, but not about activity in some subtree below it. Instead of using the recursive bdrv_requests_pending(), directly check bs->in_flight, which considers only the node in question. Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Acked-by:
Fam Zheng <famz@redhat.com>Kevin Wolf authoredbdrv_append() cares about isolation of the node that it modifies, but not about activity in some subtree below it. Instead of using the recursive bdrv_requests_pending(), directly check bs->in_flight, which considers only the node in question. Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Acked-by:
Fam Zheng <famz@redhat.com>
Loading