From: Mike Snitzer Date: Wed, 29 Oct 2014 00:58:45 +0000 (-0400) Subject: dm thin: suspend/resume active thin devices when reloading thin-pool X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~22^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=583024d248f486e21479d1912aa2093565455770;p=pandora-kernel.git dm thin: suspend/resume active thin devices when reloading thin-pool Before this change it was expected that userspace would first suspend all active thin devices, reload/resize the thin-pool target, then resume all active thin devices. Now the thin-pool suspend/resume will trigger the suspend/resume of all active thins via appropriate calls to dm_internal_suspend and dm_internal_resume. Store the mapped_device for each thin device in struct thin_c to make these calls possible. Signed-off-by: Mike Snitzer Acked-by: Joe Thornber --- Reading git-diff-tree failed