summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl518sm.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2012-07-27 16:08:15 +0200
committerAlasdair G Kergon <agk@redhat.com>2012-07-27 16:08:15 +0200
commitda105ed5fd7edcc5e0df7dbacef4dadda74e7ebe (patch)
tree2db9643e499e9bc9d38c7ccc4a00e01d875150c7 /drivers/hwmon/gl518sm.c
parentdm thin metadata: introduce dm_pool_metadata_set_read_only (diff)
downloadlinux-da105ed5fd7edcc5e0df7dbacef4dadda74e7ebe.tar.xz
linux-da105ed5fd7edcc5e0df7dbacef4dadda74e7ebe.zip
dm thin metadata: introduce dm_pool_abort_metadata
Introduce dm_pool_abort_metadata to abort the current metadata transaction. Generally this will only be called when bad things are happening and dm-thin is trying to roll back to a good state for read-only mode. It's complicated by the fact that the metadata device may have failed completely causing the abort to be unable to read the old transaction. In this case the metadata object is placed in a 'fail' mode and everything fails apart from destroying it. 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/hwmon/gl518sm.c')
0 files changed, 0 insertions, 0 deletions