Skip to content

Commit

Permalink
dm persistent data: remove debug space map checker
Browse files Browse the repository at this point in the history
Remove debug space map checker from dm persistent data.

The space map checker is a wrapper for other space maps that double
checks the reference counts are correct.  It holds all these reference
counts in memory rather than on disk, so uses a lot of memory and is
thus restricted to small pools.

As yet, this checker hasn't found any issues, but has caused a few of
its own due to people turning it on by default with larger pools.

Removing.

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>
  • Loading branch information
Joe Thornber authored and Alasdair G Kergon committed Jul 27, 2012
1 parent af7346e commit 3caf6d7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 534 deletions.
9 changes: 0 additions & 9 deletions drivers/md/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,6 @@ config DM_DEBUG_BLOCK_STACK_TRACING

If unsure, say N.

config DM_DEBUG_SPACE_MAPS
boolean "Extra validation for thin provisioning space maps"
depends on DM_THIN_PROVISIONING
---help---
Enable this for messages that may help debug problems with the
space maps used by thin provisioning.

If unsure, say N.

config DM_MIRROR
tristate "Mirror target"
depends on BLK_DEV_DM
Expand Down
1 change: 0 additions & 1 deletion drivers/md/persistent-data/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
obj-$(CONFIG_DM_PERSISTENT_DATA) += dm-persistent-data.o
dm-persistent-data-objs := \
dm-block-manager.o \
dm-space-map-checker.o \
dm-space-map-common.o \
dm-space-map-disk.o \
dm-space-map-metadata.o \
Expand Down
Loading

0 comments on commit 3caf6d7

Please sign in to comment.