Add comment about future enhancement

We currently suspend rather large sections of
the array which can take a while to process.
Possibly smaller sections are better.  Possibly it should be
adjusted on a timeout basis.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2011-01-12 14:04:09 +11:00
parent e97ca00244
commit 832b2b9a7e
1 changed files with 2 additions and 0 deletions

2
Grow.c
View File

@ -2358,6 +2358,8 @@ int progress_reshape(struct mdinfo *info, struct reshape *reshape,
* Consider extending suspend_point 128M per device if it
* is less than 64M per device beyond reshape_progress.
* But always do a multiple of 'blocks'
* FIXME this is too big - it takes to long to complete
* this much.
*/
target = 64*1024*2 * min(reshape->before.data_disks,
reshape->after.data_disks);