diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 15:08:09 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 15:08:09 +0100 |
commit | 3c9ad9bd87b03032999ddbeb44bdf7938f7dbd57 (patch) | |
tree | 358c25628410d272958baca08a1975a8b213f34b /mm | |
parent | 384ef0e62e409e52c80adef5b1ff83075377c19e (diff) | |
download | op-kernel-dev-3c9ad9bd87b03032999ddbeb44bdf7938f7dbd57.zip op-kernel-dev-3c9ad9bd87b03032999ddbeb44bdf7938f7dbd57.tar.gz |
dm persistent data: stop using dm_bm_unlock_move when shadowing blocks in tm
Stop using dm_bm_unlock_move when shadowing blocks in the transaction
manager as an optimisation and remove the function as it is then no
longer used.
Some code, such as the space maps, keeps using on-disk data structures
from the previous transaction. It can do this because blocks won't
be reallocated until the subsequent transaction. Using
dm_bm_unlock_move to copy blocks sounds like a win, but it forces a
synchronous read should the old block be accessed.
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions