diff options
author | NeilBrown <neilb@suse.de> | 2015-02-25 12:10:35 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-04-22 08:00:42 +1000 |
commit | 486f0644c3482cbf64fe804499836e1f05abec14 (patch) | |
tree | 1cb95a03d09942e04af8ec716652180b35c4f1ef /Documentation/cgroups/cpusets.txt | |
parent | a9683a795bcca6d0e7fe4c4c00e071218f3f4428 (diff) |
md/raid5: move max_nr_stripes management into grow_one_stripe and drop_one_stripe
Rather than adjusting max_nr_stripes whenever {grow,drop}_one_stripe()
succeeds, do it inside the functions.
Also choose the correct hash to handle next inside the functions.
This removes duplication and will help with future new uses of
{grow,drop}_one_stripe.
This also fixes a minor bug where the "md/raid:%md: allocate XXkB"
message always said "0kB".
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Documentation/cgroups/cpusets.txt')
0 files changed, 0 insertions, 0 deletions