diff options
author | Joe Thornber <ejt@redhat.com> | 2013-12-04 19:51:33 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-01-07 10:14:27 -0500 |
commit | b53306558526a097a587774573b76d0d9903c5bf (patch) | |
tree | a9a22bb9eb5f272ac6f59b52fc3627a314e64dfd /lib/gcd.c | |
parent | 88a6621bed65ce2d421a808a2f60e1b64914d777 (diff) | |
download | op-kernel-dev-b53306558526a097a587774573b76d0d9903c5bf.zip op-kernel-dev-b53306558526a097a587774573b76d0d9903c5bf.tar.gz |
dm thin: handle metadata failures more consistently
Introduce metadata_operation_failed() wrappers, around set_pool_mode(),
to assist with improving the consistency of how metadata failures are
handled. Logging is improved and metadata operation failures trigger
read-only mode immediately.
Also, eliminate redundant set_pool_mode() calls in the two
alloc_data_block() caller's error paths.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions