diff options
author | Jonathan E Brassow <jbrassow@redhat.com> | 2012-07-27 16:08:04 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 16:08:04 +0200 |
commit | c039c332f23e794deb6d6f37b9f07ff3b27fb2cf (patch) | |
tree | 2b6bce014f9359e6152c957594aa86f9549f7dab /drivers/md/dm-crypt.c | |
parent | dm raid: restructure parse_raid_params (diff) | |
download | linux-c039c332f23e794deb6d6f37b9f07ff3b27fb2cf.tar.xz linux-c039c332f23e794deb6d6f37b9f07ff3b27fb2cf.zip |
dm raid: move sectors_per_dev calculation
In preparation for RAID10 inclusion in dm-raid, we move the sectors_per_dev
calculation later in the device creation process. This is because we won't
know up-front how many stripes vs how many mirrors there are which will
change the calculation.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions