linux/drivers/md/persistent-data
Joe Thornber 3c9ad9bd87 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>
2012-07-27 15:08:09 +01:00
..
dm-block-manager.c dm persistent data: stop using dm_bm_unlock_move when shadowing blocks in tm 2012-07-27 15:08:09 +01:00
dm-block-manager.h dm persistent data: stop using dm_bm_unlock_move when shadowing blocks in tm 2012-07-27 15:08:09 +01:00
dm-btree-internal.h dm persistent data: remove redundant value_size arg from value_ptr 2012-03-28 18:41:25 +01:00
dm-btree-remove.c dm persistent data: remove redundant value_size arg from value_ptr 2012-03-28 18:41:25 +01:00
dm-btree-spine.c
dm-btree.c dm persistent data: remove redundant value_size arg from value_ptr 2012-03-28 18:41:25 +01:00
dm-btree.h
dm-persistent-data-internal.h
dm-space-map-common.c dm persistent data: only commit space map if index changed 2012-07-27 15:08:06 +01:00
dm-space-map-common.h dm persistent data: only commit space map if index changed 2012-07-27 15:08:06 +01:00
dm-space-map-disk.c dm persistent data: remove debug space map checker 2012-07-27 15:07:58 +01:00
dm-space-map-disk.h
dm-space-map-metadata.c
dm-space-map-metadata.h
dm-space-map.h
dm-transaction-manager.c dm persistent data: stop using dm_bm_unlock_move when shadowing blocks in tm 2012-07-27 15:08:09 +01:00
dm-transaction-manager.h dm persistent data: tidy transaction manager creation fns 2012-07-27 15:08:09 +01:00
Kconfig
Makefile dm persistent data: remove debug space map checker 2012-07-27 15:07:58 +01:00