]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
dm thin: reduce number of metadata commits
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:14 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:14 +0000 (15:08 +0100)
commit4afdd680f7c106e1c87b6dd7af9751c282ecb4b0
treeb5afcd97153a4a9e70823a2d0d2c33bfc2b51926
parent40db5a537655aa0b17a82a4b5596f8d27400edd8
dm thin: reduce number of metadata commits

Reduce the number of metadata commits by using
dm_thin_changed_this_transaction to check if metadata was changed on a
per thin device granularity.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c