aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2005-09-09 16:23:47 -0700
committerLinus Torvalds <[email protected]>2005-09-09 16:39:10 -0700
commit15945fee6f09bff1f86b1a735b5888dc59cf38e3 (patch)
treeed2f66ceccfa30867035e7ba7be46159e97e4e4d /net/lapb/lapb_timer.c
parent4b6d287f627b5fb6a49f78f9e81649ff98c62bb7 (diff)
[PATCH] md: support md/linear array with components greater than 2 terabytes.
linear currently uses division by the size of the smallest componenet device to find which device a request goes to. If that smallest device is larger than 2 terabytes, then the division will not work on some systems. So we introduce a pre-shift, and take care not to make the hash table too large, much like the code in raid0. Also get rid of conf->nr_zones, which is not needed. Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions