git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9683a7
)
md/raid5: move max_nr_stripes management into grow_one_stripe and drop_one_stripe
author
NeilBrown
<neilb@suse.de>
Wed, 25 Feb 2015 01:10:35 +0000
(12:10 +1100)
committer
NeilBrown
<neilb@suse.de>
Tue, 21 Apr 2015 22:00:42 +0000
(08:00 +1000)
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>
drivers/md/raid5.c
patch
|
blob
|
history
diff --cc
drivers/md/raid5.c
Simple merge