diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2011-08-02 07:32:07 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-08-02 07:32:07 -0400 |
commit | c1084561bb85da3630540ebe951749a8cd8fc714 (patch) | |
tree | ecdefcf24dd88f4c19a873fa5d26039a0edf03a7 /Documentation/device-mapper/dm-raid.txt | |
parent | c0a2fa1ef1057a1e9450d6f055f1cde2ad4f85a2 (diff) |
dm raid: add region_size parameter
Allow the user to specify the region_size.
Ensures that the supplied value meets md's constraints, viz. the number of
regions does not exceed 2^21.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'Documentation/device-mapper/dm-raid.txt')
-rw-r--r-- | Documentation/device-mapper/dm-raid.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/device-mapper/dm-raid.txt b/Documentation/device-mapper/dm-raid.txt index 4f9dd3cecc11..be4419a30781 100644 --- a/Documentation/device-mapper/dm-raid.txt +++ b/Documentation/device-mapper/dm-raid.txt | |||
@@ -52,6 +52,10 @@ The target is named "raid" and it accepts the following parameters: | |||
52 | [max_recovery_rate <kB/sec/disk>] Throttle RAID initialization | 52 | [max_recovery_rate <kB/sec/disk>] Throttle RAID initialization |
53 | [max_write_behind <sectors>] See '-write-behind=' (man mdadm) | 53 | [max_write_behind <sectors>] See '-write-behind=' (man mdadm) |
54 | [stripe_cache <sectors>] Stripe cache size (higher RAIDs only) | 54 | [stripe_cache <sectors>] Stripe cache size (higher RAIDs only) |
55 | [region_size <sectors>] | ||
56 | The region_size multiplied by the number of regions is the | ||
57 | logical size of the array. The bitmap records the device | ||
58 | synchronisation state for each region. | ||
55 | 59 | ||
56 | <#raid_devs>: The number of devices composing the array. | 60 | <#raid_devs>: The number of devices composing the array. |
57 | Each device consists of two entries. The first is the device | 61 | Each device consists of two entries. The first is the device |