]> Pileus Git - ~andy/linux/commit
dm table: print error on preresume failure
authorMike Snitzer <snitzer@redhat.com>
Thu, 24 Oct 2013 18:10:29 +0000 (14:10 -0400)
committerMike Snitzer <snitzer@redhat.com>
Sat, 9 Nov 2013 23:20:21 +0000 (18:20 -0500)
commit7833b08e18241a1c35c09ef38be840cbf6c58acf
tree0fd074d8dbc87cba4e81ff46e042a2e62869cfc6
parented04d98169f1c33ebc79f510c855eed83924d97f
dm table: print error on preresume failure

If preresume fails it is worth logging an error given that a device is
left suspended due to the failure.

This change was motivated by local preresume error logging that was
added to the cache target ("preresume failed").  Elevating this
target-agnostic context for the where the target-specific error occurred
relative to the DM core's callouts makes sense.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Joe Thornber <ejt@redhat.com>
drivers/md/dm-table.c