aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-05-08 08:20:17 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-05 11:15:49 -0700
commitfcab0185eddfe15e4bd7f484db0d4441186a7b01 (patch)
tree1169e90c3eccc92b0be0ed8b02a3713b9eabd8ad /scripts/patch-kernel
parent574f89ba4649de169c49028f8fc01681a51bf459 (diff)
md: Fix read balancing in RAID1 and RAID10 on drives > 2TB
commit af3a2cd6b8a479345786e7fe5e199ad2f6240e56 upstream. read_balance uses a "unsigned long" for a sector number which will get truncated beyond 2TB. This will cause read-balancing to be non-optimal, and can cause data to be read from the 'wrong' branch during a resync. This has a very small chance of returning wrong data. Reported-by: Jordan Russell <jr-list-2010@quo.to> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions