]> err.no Git - linux-2.6/commit
[PATCH] md: when resizing an array, we need to update resync_max_sectors as well...
authorNeilBrown <neilb@cse.unsw.edu.au>
Wed, 27 Jul 2005 18:43:28 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:48 +0000 (16:25 -0700)
commit4b5c7ae83704320e2afb0912f4c42eadabc7535b
tree2db30198606683da3b683cabac531d902a249b27
parentb38817dda45bc2990a8d593f3a1b4d444b2dcf4f
[PATCH] md: when resizing an array, we need to update resync_max_sectors as well as size

Without this, and attempt to 'grow' an array will claim to have synced the
extra part without actually having done anything.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid1.c
drivers/md/raid5.c
drivers/md/raid6main.c