diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-01-16 16:22:34 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-02-28 20:40:37 +0100 |
commit | 8dfba2797761d8a43744e4e6571c8175e448a478 (patch) | |
tree | b29be71772cfeb9e38988904b53a52afc013f574 /tests/qemu-iotests/099 | |
parent | 76d554e20bd0a965ac22d6155a129be12fac2667 (diff) |
commit: Use real permissions in commit block job
This is probably one of the most interesting conversions to the new
op blocker system because a commit block job intentionally leaves some
intermediate block nodes in the backing chain that aren't valid on their
own any more; only the whole chain together results in a valid view.
In order to provide the 'consistent read' permission to the parents of
the 'top' node of the commit job, a new filter block driver is inserted
above 'top' which doesn't require 'consistent read' on its backing
chain. Subsequently, the commit job can block 'consistent read' on all
intermediate nodes without causing a conflict.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/099')
0 files changed, 0 insertions, 0 deletions