diff options
author | Joe Thornber <ejt@redhat.com> | 2013-08-09 14:19:32 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2013-11-09 18:20:24 -0500 |
commit | 40c57f475f416ab241124e1e6a593b2f982eaae3 (patch) | |
tree | 1d15b08035b871d9fd2fab9df882fdef68330ab1 /drivers/md/persistent-data/dm-btree-remove.c | |
parent | 41d35d25e9d4e1b5e944b70f1bec272bcff5f489 (diff) | |
download | lwn-40c57f475f416ab241124e1e6a593b2f982eaae3.tar.gz lwn-40c57f475f416ab241124e1e6a593b2f982eaae3.zip |
dm space map disk: optimise sm_disk_dec_block
Don't waste time spotting blocks that have been allocated and then freed
in the same transaction.
The extra lookup is expensive, and I don't think it really gives us much.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/persistent-data/dm-btree-remove.c')
0 files changed, 0 insertions, 0 deletions