]> git.proxmox.com Git - mirror_qemu.git/commit
blockjob: Don't touch BDS iostatus
authorKevin Wolf <kwolf@redhat.com>
Mon, 18 Apr 2016 13:14:11 +0000 (15:14 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 May 2016 14:45:31 +0000 (16:45 +0200)
commit66a0fae438d2888f3b06cd7bd2795bb226956c05
treeff7bc074102cd359c9e2215637827dc99605aa17
parent81e254dc8349795d17c585a997f9076b77a863fc
blockjob: Don't touch BDS iostatus

Block jobs don't actually make use of the iostatus for their BDSes, but
they manage a separate block job iostatus. Still, they require that it
is enabled for the source BDS and they enable it automatically for the
target and set the error handling mode - which ends up never being used
by the job.

This patch removes all of the BDS iostatus handling from the block job,
which removes another few bs->blk accesses.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/backup.c
block/commit.c
block/mirror.c
block/stream.c