]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: handle manually-added spares in start_reshape.
authorNeilBrown <neilb@suse.de>
Thu, 13 Jan 2011 22:14:34 +0000 (09:14 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 13 Jan 2011 22:14:34 +0000 (09:14 +1100)
commit6308a249ad847d99890aea1d90796224cd648e62
tree73de19d505bb0483462eb1445a86a848e5506478
parentb3dfe669be831cae76ef1054a3554f0a4e530aab
md/raid5: handle manually-added spares in start_reshape.

It is possible to manually add spares to specific slots before
starting a reshape.
raid5_start_reshape should recognised this possibility and include
it in the accounting.

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