summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/md.rst
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-01-31 02:47:49 +0300
committerShaohua Li <shli@fb.com>2017-02-13 20:17:54 +0300
commit5a6265f9cd98b82d89778b806bc50b3d368c8273 (patch)
tree6a859821d584db8a2ec5edbd90badaa896302304 /Documentation/admin-guide/md.rst
parent1601c5907c508637f7816a427ff23b14e54eb11d (diff)
downloadlinux-5a6265f9cd98b82d89778b806bc50b3d368c8273.tar.xz
MD: add doc for raid5-cache
I'm starting document of the raid5-cache feature. Please note this is a kernel doc instead of a mdadm manual, so I don't add the details about how to use the feature in mdadm side. Cc: NeilBrown <neilb@suse.com> Reviewed-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'Documentation/admin-guide/md.rst')
-rw-r--r--Documentation/admin-guide/md.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/admin-guide/md.rst b/Documentation/admin-guide/md.rst
index e449fb5f277c..1e61bf50595c 100644
--- a/Documentation/admin-guide/md.rst
+++ b/Documentation/admin-guide/md.rst
@@ -725,3 +725,8 @@ These currently include:
to 1. Setting this to 0 disables bypass accounting and
requires preread stripes to wait until all full-width stripe-
writes are complete. Valid values are 0 to stripe_cache_size.
+
+ journal_mode (currently raid5 only)
+ The cache mode for raid5. raid5 could include an extra disk for
+ caching. The mode can be "write-throuth" and "write-back". The
+ default is "write-through".