aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2011-08-02 07:32:07 -0400
committerAlasdair G Kergon <agk@redhat.com>2011-08-02 07:32:07 -0400
commit46bed2b5c16bb7c82e1088d7ae75fb958c8a8c4e (patch)
treebab932a8eec324ca470407ff54097d86a3c0e27f /Documentation
parentc1084561bb85da3630540ebe951749a8cd8fc714 (diff)
dm raid: add write_mostly parameter
Add the write_mostly parameter to RAID1 dm-raid tables. This allows the user to set the WriteMostly flag on a RAID1 device that should normally be avoided for read I/O. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/device-mapper/dm-raid.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/device-mapper/dm-raid.txt b/Documentation/device-mapper/dm-raid.txt
index be4419a30781..a7d1c4abc927 100644
--- a/Documentation/device-mapper/dm-raid.txt
+++ b/Documentation/device-mapper/dm-raid.txt
@@ -50,6 +50,7 @@ The target is named "raid" and it accepts the following parameters:
50 50
51 [min_recovery_rate <kB/sec/disk>] Throttle RAID initialization 51 [min_recovery_rate <kB/sec/disk>] Throttle RAID initialization
52 [max_recovery_rate <kB/sec/disk>] Throttle RAID initialization 52 [max_recovery_rate <kB/sec/disk>] Throttle RAID initialization
53 [write_mostly <idx>] Drive index is write-mostly
53 [max_write_behind <sectors>] See '-write-behind=' (man mdadm) 54 [max_write_behind <sectors>] See '-write-behind=' (man mdadm)
54 [stripe_cache <sectors>] Stripe cache size (higher RAIDs only) 55 [stripe_cache <sectors>] Stripe cache size (higher RAIDs only)
55 [region_size <sectors>] 56 [region_size <sectors>]
@@ -87,9 +88,10 @@ Example tables
87 5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81 88 5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81
88 89
89'dmsetup table' displays the table used to construct the mapping. 90'dmsetup table' displays the table used to construct the mapping.
90The optional parameters will always be printed in the order listed 91The optional parameters are always printed in the order listed
91above with "sync" or "nosync" always output ahead of the other 92above with "sync" or "nosync" always output ahead of the other
92arguments, regardless of the order used when originally loading the table. 93arguments, regardless of the order used when originally loading the table.
94Arguments that can be repeated are ordered by value.
93 95
94'dmsetup status' yields information on the state and health of the 96'dmsetup status' yields information on the state and health of the
95array. 97array.