block: Add "drained begin/end" for transactional blockdev-backup
commitff52bf36a3a6c63b7528fbe64e9ed9976b221e68
authorFam Zheng <famz@redhat.com>
Fri, 23 Oct 2015 03:08:12 +0000 (23 11:08 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:24 +0000 (23 18:18 +0200)
tree76500c72c596a588df89c794a6b3e4d531ace3a9
parent1fdd4b7be3655d39c3594bc215eb1df5ce225c7d
block: Add "drained begin/end" for transactional blockdev-backup

Similar to the previous patch, make sure that external events are not
dispatched during transaction operations.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c