From: Mike Snitzer Date: Fri, 7 Nov 2014 20:09:46 +0000 (-0500) Subject: dm thin: do not allow thin device activation while pool is suspended X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~22^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e96c5484be788f277eead9cabf88cf8e430419;p=pandora-kernel.git dm thin: do not allow thin device activation while pool is suspended Otherwise IO could be issued to the pool while it is suspended. Care was taken to properly interlock between the thin and thin-pool targets when accessing the pool's 'suspended' flag. The thin_ctr will not add a new thin device to the pool's active_thins list if the pool is susepended. Signed-off-by: Mike Snitzer Acked-by: Joe Thornber --- Reading git-diff-tree failed