]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Document preread_bypass_threshold
authorDan Williams <dan.j.williams@intel.com>
Sat, 19 Jul 2008 00:14:44 +0000 (17:14 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 19 Jul 2008 00:14:44 +0000 (17:14 -0700)
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
md.4

diff --git a/md.4 b/md.4
index af1a796811f9a16de08c4045a152f9449e77eea8..ef43d9d7c191ebe3e211d9ed76bab1cbcbe0ad35 100644 (file)
--- a/md.4
+++ b/md.4
@@ -530,6 +530,15 @@ all read and write operations to the array.  The default is 128.
 Increasing this number can increase performance in some situations, at
 some cost in system memory.
 
+.TP
+.B md/preread_bypass_threshold
+This is only available on RAID5 and RAID6.  This variable sets the
+number of times MD will service a full-stripe-write before servicing a
+stripe that requires some "prereading".  For fairness this defaults to
+1.  Setting this to 0 maximizes sequential-write throughput at the cost
+of fairness to threads doing small or random writes.  Valid values are 0
+to stripe_cache_size.
+
 
 .SS KERNEL PARAMETERS