diff options
author | NeilBrown <neilb@suse.de> | 2010-05-08 00:20:17 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-05-18 07:28:00 +0200 |
commit | af3a2cd6b8a479345786e7fe5e199ad2f6240e56 (patch) | |
tree | 10690853d80455e69bcc0d027ad6c8b9c7951332 /arch/mn10300/include | |
parent | md/linear: standardise all printk messages (diff) | |
download | linux-af3a2cd6b8a479345786e7fe5e199ad2f6240e56.tar.xz linux-af3a2cd6b8a479345786e7fe5e199ad2f6240e56.zip |
md: Fix read balancing in RAID1 and RAID10 on drives > 2TB
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>
Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'arch/mn10300/include')
0 files changed, 0 insertions, 0 deletions