]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Add read-only and fail-io modes to thin provisioning.
authorJoe Thornber <ejt@redhat.com>
Tue, 24 Jul 2012 23:25:33 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:33 +0000 (09:25 +1000)
commit51a1b2309f24253c6ee7631233256ea9c2504e8f
tree7ee9224cdf53ae3aec9077938ff0fbe6fbd07d70
parentfce1d4900e7098a412a345f576383ff50c9d91d2
Add read-only and fail-io modes to thin provisioning.

If a transaction commit fails the pool's metadata device will transition
to "read-only" mode.  If a commit fails once already in read-only mode
the transition to "fail-io" mode occurs.

Once in fail-io mode the pool and all associated thin devices will
report a status of "Fail".

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Documentation/device-mapper/thin-provisioning.txt
drivers/md/dm-thin.c