Skip to content
Commit f53e29fc authored by NeilBrown's avatar NeilBrown
Browse files

md/raid1: fix buglet in md_raid1_contested.



Since we added 'replacement' capability, RAID1 can have twice
as many devices as ->raid_disks indicates.
So md_raid1_congested needs to check that many possible devices,
not just ->raid_disks many.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent db91ff55
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment