From: Joe Thornber Date: Thu, 5 Dec 2013 00:51:33 +0000 (-0500) Subject: dm thin: handle metadata failures more consistently X-Git-Tag: v3.14-rc1~130^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b53306558526a097a587774573b76d0d9903c5bf;p=pandora-kernel.git 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 Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed