dm cache: display 'needs_check' in status if it is set
authorMike Snitzer <snitzer@redhat.com>
Wed, 15 Jul 2015 15:42:59 +0000 (11:42 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 16 Jul 2015 14:23:50 +0000 (10:23 -0400)
commit255eac20054e90ac7a52b3e179b61de1168a8fe6
tree0e3cba0cdb7a09930b1931ece156c32c52e16dad
parente4c78e210daea17f82f12037005df225e22189b9
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>
Documentation/device-mapper/cache.txt
drivers/md/dm-cache-target.c