[PATCH] dm: log: rename complete_resync_work
authorJonathan E Brassow <jbrassow@redhat.com>
Fri, 8 Dec 2006 10:41:11 +0000 (02:41 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:09 +0000 (08:29 -0800)
commitf3ee6b2f621fec7bc8bfe43fb465e938c37c8d20
tree3d790014bbd3280fc7b0232dc212f4b34f06092f
parent31c93a0c29bf96efd806ccf4ee81cacf04f255de
[PATCH] dm: log: rename complete_resync_work

The complete_resync_work function only provides the ability to change an
out-of-sync region to in-sync.  This patch enhances the function to allow us
to change the status from in-sync to out-of-sync as well, something that is
needed when a mirror write to one of the devices or an initial resync on a
given region fails.

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
drivers/md/dm-log.h
drivers/md/dm-raid1.c