]> git.baikalelectronics.ru Git - kernel.git/commit
md: don't reset curr_resync_completed after an interrupted resync
authorNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:49 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:49 +0000 (12:49 +1100)
commitefa593390e70b0e3c39f6b2dca8876b6b1461e41
tree99c6071381f14f5ff59130779d988672aa78ee67
parentc07b70ad32ed0a5ec9735cafb1aa10b3a2298b7d
md: don't reset curr_resync_completed after an interrupted resync

If a resync/recovery/check/repair is interrupted for some reason, it
can be useful to know exactly where it got up to.
So in that case, do not clear curr_resync_completed.
Initialise it when starting a resync/recovery/... instead.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c