]> git.baikalelectronics.ru Git - kernel.git/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)
commit87d2d01381da20c3b5f3833a8ae84071800b5d03
tree2db30198606683da3b683cabac531d902a249b27
parent5b0c6486406a41ecc295f205120cdd3c55b54b92
[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