linux-stable/Documentation/device-mapper
Joe Thornber 028ae9f76f dm cache: add fail io mode and needs_check flag
If a cache metadata operation fails (e.g. transaction commit) the
cache's metadata device will abort the current transaction, set a new
needs_check flag, and the cache will transition to "read-only" mode.  If
aborting the transaction or setting the needs_check flag fails the cache
will transition to "fail-io" mode.

Once needs_check is set the cache device will not be allowed to
activate.  Activation requires write access to metadata.  Future work is
needed to add proper support for running the cache in read-only mode.

Once in fail-io mode the cache will report a status of "Fail".

Also, add commit() wrapper that will disallow commits if in read_only or
fail mode.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2015-06-11 17:13:00 -04:00
..
cache-policies.txt dm cache policy mq: simplify ability to promote sequential IO to the cache 2014-11-10 15:25:30 -05:00
cache.txt dm cache: add fail io mode and needs_check flag 2015-06-11 17:13:00 -04:00
delay.txt
dm-crypt.txt dm crypt: update URLs to new cryptsetup project page 2015-04-15 12:10:24 -04:00
dm-flakey.txt dm flakey: add corrupt_bio_byte feature 2011-08-02 12:32:06 +01:00
dm-io.txt
dm-log.txt dm log userspace: fix comment hyphens 2011-10-31 20:21:22 +00:00
dm-queue-length.txt
dm-raid.txt dm raid: add support for the MD RAID0 personality 2015-05-29 14:19:00 -04:00
dm-service-time.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
dm-uevent.txt
era.txt dm: add era target 2014-03-27 16:56:23 -04:00
kcopyd.txt
linear.txt
log-writes.txt dm: add log writes target 2015-04-15 12:10:24 -04:00
persistent-data.txt Documentation: Fix multiple typo in Documentation 2012-03-07 16:08:24 +01:00
snapshot.txt
statistics.txt dm: add statistics support 2013-09-05 20:46:06 -04:00
striped.txt dm stripe: support for non power of 2 chunksize 2012-07-27 15:08:01 +01:00
switch.txt dm switch: fix Documentation to use plain text 2015-03-31 12:03:49 -04:00
thin-provisioning.txt dm thin: remove stale 'trim' message documentation 2015-04-15 12:10:22 -04:00
verity.txt dm crypt: update URLs to new cryptsetup project page 2015-04-15 12:10:24 -04:00
zero.txt