diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 16:08:16 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 16:08:16 +0200 |
commit | e49e582965b3694f07a106adc83ddb44aa4f0890 (patch) | |
tree | fcc6ff02fd4bd9afa59b5fd3bdbb9991f1271d8a /drivers/md/dm-snap.c | |
parent | dm thin metadata: introduce dm_pool_abort_metadata (diff) | |
download | linux-e49e582965b3694f07a106adc83ddb44aa4f0890.tar.xz linux-e49e582965b3694f07a106adc83ddb44aa4f0890.zip |
dm thin: add read only and fail io modes
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>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions