]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dm raid1: handle recovery failures
authorJonathan Brassow <jbrassow@redhat.com>
Fri, 8 Feb 2008 02:11:32 +0000 (02:11 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:11:32 +0000 (02:11 +0000)
commit8f0205b798f926e2745de5fdebf0a8605c621de6
tree3b0efdd8b666e507c2c7987ce6477064c2d4cc56
parent72f4b314100bae85c75d8e4c6fec621ab44e777d
dm raid1: handle recovery failures

This patch adds the calls to 'fail_mirror' if an error occurs during
mirror recovery (aka resynchronization).  'fail_mirror' is responsible
for recording the type of error by mirror device and ensuring an event
gets raised for the purpose of notifying userspace.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid1.c