Home
last modified time | relevance | path

Searched hist:"826 b6ca0b0c00bf27562a85bc073f800dad1259b" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock_int.hdiff 826b6ca0b0c00bf27562a85bc073f800dad1259b Fri May 23 08:29:47 CDT 2014 Fam Zheng <famz@redhat.com> block: Add backing_blocker in BlockDriverState

This makes use of op_blocker and blocks all the operations except for
commit target, on each BlockDriverState->backing_hd.

The asserts for op_blocker in bdrv_swap are removed because with this
change, the target of block commit has at least the backing blocker of
its child, so the assertion is not true. Callers should do their check.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/block/
H A Dmirror.cdiff 826b6ca0b0c00bf27562a85bc073f800dad1259b Fri May 23 08:29:47 CDT 2014 Fam Zheng <famz@redhat.com> block: Add backing_blocker in BlockDriverState

This makes use of op_blocker and blocks all the operations except for
commit target, on each BlockDriverState->backing_hd.

The asserts for op_blocker in bdrv_swap are removed because with this
change, the target of block commit has at least the backing blocker of
its child, so the assertion is not true. Callers should do their check.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff 826b6ca0b0c00bf27562a85bc073f800dad1259b Fri May 23 08:29:47 CDT 2014 Fam Zheng <famz@redhat.com> block: Add backing_blocker in BlockDriverState

This makes use of op_blocker and blocks all the operations except for
commit target, on each BlockDriverState->backing_hd.

The asserts for op_blocker in bdrv_swap are removed because with this
change, the target of block commit has at least the backing blocker of
its child, so the assertion is not true. Callers should do their check.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>