summaryrefslogtreecommitdiff
path: root/md.4
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-07-18 17:14:44 -0700
committerDan Williams <dan.j.williams@intel.com>2008-07-18 17:14:44 -0700
commita5ee6dfbf506424103d4de6579037836858bea72 (patch)
tree6fe960359aed46187a4b4fa2ff8b6651a9c2bf99 /md.4
parenteb2c876f4deef9da9eda6359647e2f6ad2083957 (diff)
Document preread_bypass_threshold
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'md.4')
-rw-r--r--md.49
1 files changed, 9 insertions, 0 deletions
diff --git a/md.4 b/md.4
index af1a7968..ef43d9d7 100644
--- 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