]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: set reshape_position correctly when reshape starts.
authorNeilBrown <neilb@suse.de>
Mon, 3 Aug 2009 00:59:57 +0000 (10:59 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 3 Aug 2009 00:59:57 +0000 (10:59 +1000)
commitec3494a34e7e0e49a2a353becec534d2c93a6e2b
tree8fa40d8f835d643ed903e1a89567a53256acc395
parent1f90797403c9dcb397de0a754334bb409a113575
md/raid5: set reshape_position correctly when reshape starts.

As the internal reshape_progress counter is the main driver
for reshape, the fact that reshape_position sometimes starts with the
wrong value has minimal effect.  It is visible in sysfs and that
is all.

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