]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Fix management of backed-up region for hi-to-low reshapes.
authorNeilBrown <neilb@suse.de>
Thu, 20 Jan 2011 20:59:53 +0000 (07:59 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 20 Jan 2011 20:59:53 +0000 (07:59 +1100)
commit38dad34a350da3d3bf07941a92f471a7981314ef
treef11fb404e5a56ca12e63bc2e391fbc6f0e0a25d3
parent55f14721920616a538c6ff1b4fa3b3cd68e41c7e
Fix management of backed-up region for hi-to-low reshapes.

When reshaping from the end of the array to the start, for times
when the number of data devices is decreasing, the handling of the
backup area isn't a simple mirror of the handling on low-to-hi
reshapes as the backup areas is always low in the array.

So re-write that to make it work.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c