diff options
author | Mike Snitzer <snitzer@redhat.com> | 2013-12-13 08:24:44 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-01-07 10:11:54 -0500 |
commit | 10343180f5c4023043e82d46e71048e68f975f50 (patch) | |
tree | 37827fe56938cf4148c2cd5b4a36d0ced5ccd99e | |
parent | c46985e211fa6d6895104cc4858e85e53e8c7731 (diff) |
dm persistent data: cleanup dm-thin specific references in text
DM's persistent-data library is now used my multiple targets so
exclusive references to "pool" or "thin provisioning" need to be
cleaned up. Adjust Kconfig's DM_DEBUG_BLOCK_STACK_TRACING text
and remove "pool" from a block manager error message.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
-rw-r--r-- | drivers/md/Kconfig | 6 | ||||
-rw-r--r-- | drivers/md/persistent-data/dm-block-manager.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index f2ccbc3b9fe4..7441344bd214 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig | |||
@@ -250,12 +250,12 @@ config DM_THIN_PROVISIONING | |||
250 | Provides thin provisioning and snapshots that share a data store. | 250 | Provides thin provisioning and snapshots that share a data store. |
251 | 251 | ||
252 | config DM_DEBUG_BLOCK_STACK_TRACING | 252 | config DM_DEBUG_BLOCK_STACK_TRACING |
253 | boolean "Keep stack trace of thin provisioning block lock holders" | 253 | boolean "Keep stack trace of persistent data block lock holders" |
254 | depends on STACKTRACE_SUPPORT && DM_THIN_PROVISIONING | 254 | depends on STACKTRACE_SUPPORT && DM_PERSISTENT_DATA |
255 | select STACKTRACE | 255 | select STACKTRACE |
256 | ---help--- | 256 | ---help--- |
257 | Enable this for messages that may help debug problems with the | 257 | Enable this for messages that may help debug problems with the |
258 | block manager locking used by thin provisioning. | 258 | block manager locking used by thin provisioning and caching. |
259 | 259 | ||
260 | If unsure, say N. | 260 | If unsure, say N. |
261 | 261 | ||
diff --git a/drivers/md/persistent-data/dm-block-manager.c b/drivers/md/persistent-data/dm-block-manager.c index 064a3c271baa..455f79279a16 100644 --- a/drivers/md/persistent-data/dm-block-manager.c +++ b/drivers/md/persistent-data/dm-block-manager.c | |||
@@ -104,7 +104,7 @@ static int __check_holder(struct block_lock *lock) | |||
104 | 104 | ||
105 | for (i = 0; i < MAX_HOLDERS; i++) { | 105 | for (i = 0; i < MAX_HOLDERS; i++) { |
106 | if (lock->holders[i] == current) { | 106 | if (lock->holders[i] == current) { |
107 | DMERR("recursive lock detected in pool metadata"); | 107 | DMERR("recursive lock detected in metadata"); |
108 | #ifdef CONFIG_DM_DEBUG_BLOCK_STACK_TRACING | 108 | #ifdef CONFIG_DM_DEBUG_BLOCK_STACK_TRACING |
109 | DMERR("previously held here:"); | 109 | DMERR("previously held here:"); |
110 | print_stack_trace(lock->traces + i, 4); | 110 | print_stack_trace(lock->traces + i, 4); |