aboutsummaryrefslogtreecommitdiff
path: root/lib/kstrtox.c
diff options
context:
space:
mode:
authorJonathan Brassow <[email protected]>2013-02-21 13:28:10 +1100
committerNeilBrown <[email protected]>2013-02-26 11:55:36 +1100
commitfe5d2f4a15967bbe907e7b3e31e49dae7af7cc6b (patch)
tree480fe9fd2e9cd0884b375351c4db98a9dfb21aac /lib/kstrtox.c
parent9a3152ab024867100f2f50d124b998d05fb1c3f6 (diff)
DM RAID: Add support for MD's RAID10 "far" and "offset" algorithms
DM RAID: Add support for MD's RAID10 "far" and "offset" algorithms Until now, dm-raid.c only supported the "near" algorthm of MD's RAID10 implementation. This patch adds support for the "far" and "offset" algorithms, but only with the improved redundancy that is brought with the introduction of the 'use_far_sets' bit, which shifts copied stripes according to smaller sets vs the entire array. That is, the 17th bit of the 'layout' variable that defines the RAID10 implementation will always be set. (More information on how the 'layout' variable selects the RAID10 algorithm can be found in the opening comments of drivers/md/raid10.c.) Signed-off-by: Jonathan Brassow <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions