]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Add comment about future enhancement
authorNeilBrown <neilb@suse.de>
Wed, 12 Jan 2011 03:04:09 +0000 (14:04 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 12 Jan 2011 03:04:09 +0000 (14:04 +1100)
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>
Grow.c

diff --git a/Grow.c b/Grow.c
index c2a499c4a97c7e78941d669a0d7ea81b12a0e93b..8b53c927bd058f08eaad83b4d09a27fb1defedc2 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -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);