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/dm-cache-target.c | |
parent | 41d35d25e9d4e1b5e944b70f1bec272bcff5f489 (diff) | |
download | op-kernel-dev-40c57f475f416ab241124e1e6a593b2f982eaae3.zip op-kernel-dev-40c57f475f416ab241124e1e6a593b2f982eaae3.tar.gz |
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/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions