summaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper/cache.txt
diff options
context:
space:
mode:
authorMike Snitzer2015-07-15 17:42:59 +0200
committerMike Snitzer2015-07-16 16:23:50 +0200
commit255eac20054e90ac7a52b3e179b61de1168a8fe6 (patch)
tree0e3cba0cdb7a09930b1931ece156c32c52e16dad /Documentation/device-mapper/cache.txt
parentdm thin: display 'needs_check' in status if it is set (diff)
downloadkernel-qcow2-linux-255eac20054e90ac7a52b3e179b61de1168a8fe6.tar.gz
kernel-qcow2-linux-255eac20054e90ac7a52b3e179b61de1168a8fe6.tar.xz
kernel-qcow2-linux-255eac20054e90ac7a52b3e179b61de1168a8fe6.zip
dm cache: display 'needs_check' in status if it is set
There is currently no way to see that the needs_check flag has been set in the metadata. Display 'needs_check' in the cache status if it is set in the cache metadata. Also, update cache documentation. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/device-mapper/cache.txt')
-rw-r--r--Documentation/device-mapper/cache.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/device-mapper/cache.txt b/Documentation/device-mapper/cache.txt
index 82960cffbad3..785eab87aa71 100644
--- a/Documentation/device-mapper/cache.txt
+++ b/Documentation/device-mapper/cache.txt
@@ -258,6 +258,12 @@ cache metadata mode : ro if read-only, rw if read-write
no further I/O will be permitted and the status will just
contain the string 'Fail'. The userspace recovery tools
should then be used.
+needs_check : 'needs_check' if set, '-' if not set
+ A metadata operation has failed, resulting in the needs_check
+ flag being set in the metadata's superblock. The metadata
+ device must be deactivated and checked/repaired before the
+ cache can be made fully operational again. '-' indicates
+ needs_check is not set.
Messages
--------