From: Mike Snitzer Date: Thu, 6 Feb 2014 11:08:56 +0000 (-0500) Subject: dm thin: avoid metadata commit if a pool's thin devices haven't changed X-Git-Tag: v3.14-rc5~11^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d1662a30dde6e545086fe0e8fd7e474c4e0b639;p=pandora-kernel.git dm thin: avoid metadata commit if a pool's thin devices haven't changed Commit 905e51b ("dm thin: commit outstanding data every second") introduced a periodic commit. This commit occurs regardless of whether any thin devices have made changes. Fix the periodic commit to check if any of a pool's thin devices have changed using dm_pool_changed_this_transaction(). Reported-by: Alexander Larsson Signed-off-by: Mike Snitzer Acked-by: Joe Thornber Cc: stable@vger.kernel.org --- Reading git-diff-tree failed