commit | f53e29fc87b6fb76db0043202ec2c3450caa5ff3 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Feb 13 14:24:05 2012 +1100 |
committer | NeilBrown <neilb@suse.de> | Mon Feb 13 14:24:05 2012 +1100 |
tree | b1f8705e420775a40ebb2f26132fe27184b82fbb | |
parent | db91ff55bdf06736b849afc1b1fce5763bbb8d5d [diff] |
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: NeilBrown <neilb@suse.de>