dm thin metadata: stop tracking need for commit
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:08 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:08 +0000 (15:08 +0100)
commiteb04cf634fc2d5e3bc8fe88fbf434eda4921d875
tree92948b71b13387b85ec3da1b6471074df3cd6c07
parent51a0f659c03ccc8ec407c7a9f9701d1b4618d515
dm thin metadata: stop tracking need for commit

Remove an optimisation that tracks whether or not a thin metadata commit
is needed.

If dm_pool_commit_metadata() is called and no changes have been made
to the metadata then this optimisation avoided writing to disk.

Removing because we're going to do something better later.

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-metadata.c