[PATCH] dm: raid1: reset sync_search on resume
authorJonathan E Brassow <jbrassow@redhat.com>
Fri, 8 Dec 2006 10:41:12 +0000 (02:41 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:09 +0000 (08:29 -0800)
commit88b20a1a71d98d6e0b8373fa68fb784340b3ee51
treec6406a5e5502356bb86555703b52573372ba3b5a
parentf3ee6b2f621fec7bc8bfe43fb465e938c37c8d20
[PATCH] dm: raid1: reset sync_search on resume

Reset sync_search on resume.  The effect is to retry syncing all out-of-sync
regions when a mirror is resumed, including ones that previously failed.

Signed-off-by: Jonathan E Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: dm-devel@redhat.com
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-log.c