]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: fix calculation of stripe_cache_size when reshaping.
authorNeilBrown <neilb@suse.de>
Wed, 15 Dec 2010 22:07:52 +0000 (09:07 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 15 Dec 2010 22:07:52 +0000 (09:07 +1100)
commit7d469585fc55f042ab95ea6edad24ec9e9e15cb1
treee1771091f0125c52bcce9521ec6ac73a1c3e4604
parent76266030d68d35a2342b7d0f7517daa6401bc5af
Grow: fix calculation of stripe_cache_size when reshaping.

The two places that this was done were different.  The original was
most correct, thought it used odisks rather than odata.

So fix that and make them both use the same calculation.

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