diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-07-15 11:42:59 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-07-16 10:23:50 -0400 |
commit | 255eac20054e90ac7a52b3e179b61de1168a8fe6 (patch) | |
tree | 0e3cba0cdb7a09930b1931ece156c32c52e16dad /Documentation/device-mapper | |
parent | e4c78e210daea17f82f12037005df225e22189b9 (diff) | |
download | linux-255eac20054e90ac7a52b3e179b61de1168a8fe6.tar.bz2 |
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')
-rw-r--r-- | Documentation/device-mapper/cache.txt | 6 |
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 -------- |