[PATCH v3 4/5] Documentation/device-mapper: add optional parameter reinit

From: Huaisheng Ye
Date: Wed Jan 30 2019 - 21:32:38 EST


From: Huaisheng Ye <yehs1@xxxxxxxxxx>

Add intro and usage guide for reinit.

Signed-off-by: Huaisheng Ye <yehs1@xxxxxxxxxx>
---
Documentation/device-mapper/writecache.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/device-mapper/writecache.txt b/Documentation/device-mapper/writecache.txt
index 01532b3..255c68c 100644
--- a/Documentation/device-mapper/writecache.txt
+++ b/Documentation/device-mapper/writecache.txt
@@ -45,6 +45,10 @@ Constructor parameters:
afterwards
- some underlying devices perform better with fua, some
with nofua. The user should test it
+ reinit (by default off)
+ applicable only to persistent memory - use the REINIT flag
+ when the surper block has messy data, that would cause fn ctr
+ failed to work with invalid magic or version in the superblock

Status:
1. error indicator - 0 if there was no error, otherwise error number
--
1.8.3.1