summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-01-30 15:47:49 -0800
committerShaohua Li <shli@fb.com>2017-02-13 09:17:54 -0800
commit5a6265f9cd98b82d89778b806bc50b3d368c8273 (patch)
tree6a859821d584db8a2ec5edbd90badaa896302304 /Documentation/admin-guide
parent1601c5907c508637f7816a427ff23b14e54eb11d (diff)
downloadop-kernel-dev-5a6265f9cd98b82d89778b806bc50b3d368c8273.zip
op-kernel-dev-5a6265f9cd98b82d89778b806bc50b3d368c8273.tar.gz
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')
-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 e449fb5..1e61bf5 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".
OpenPOWER on IntegriCloud