diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-02-06 06:08:56 -0500 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-05 17:13:55 +0100 |
commit | d4c47a2b64e03a90281875b67a082a577de0ff43 (patch) | |
tree | 241587c6045274c58560136a9bef3f971ec9a27e /block | |
parent | 9673d7e741510a68069578a775cd0c49ef8825df (diff) |
dm thin: avoid metadata commit if a pool's thin devices haven't changed
commit 4d1662a30dde6e545086fe0e8fd7e474c4e0b639 upstream.
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 <alexl@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions