mirror: finish earlier on error
commitdbaa7b57ec84e39e581890c1d814a8ac0f56e7c4
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 3 Aug 2016 12:56:44 +0000 (3 15:56 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 8 Aug 2016 11:05:43 +0000 (8 13:05 +0200)
tree8a6d36a725dc4609dc6cabfb93536363b1ba155b
parent9ef8112a24d13c9d054c26105b24a3e12e1cb430
mirror: finish earlier on error

Stop to produce new async copy requests from mirror_iteration if
critical error (error action = BLOCK_ERROR_ACTION_REPORT) detected.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c