summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2013-02-21 13:28:10 +1100
committerNeilBrown <neilb@suse.de>2013-02-26 11:55:36 +1100
commitfe5d2f4a15967bbe907e7b3e31e49dae7af7cc6b (patch)
tree480fe9fd2e9cd0884b375351c4db98a9dfb21aac /drivers/md/md.c
parent9a3152ab024867100f2f50d124b998d05fb1c3f6 (diff)
downloadop-kernel-dev-fe5d2f4a15967bbe907e7b3e31e49dae7af7cc6b.zip
op-kernel-dev-fe5d2f4a15967bbe907e7b3e31e49dae7af7cc6b.tar.gz
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 <jbrassow@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud