diff options
author | David Teigland <teigland@redhat.com> | 2007-01-09 09:44:01 -0600 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 13:36:40 -0500 |
commit | 99fc64874aad1ee0aea5c4d8c07e3529f9d03497 (patch) | |
tree | 46d36b4d11d920e31bbbf04f5d62e676945550e6 /fs/dlm/config.c | |
parent | 68c817a1c4e21b893672ac73d8a498e6647453aa (diff) | |
download | linux-3.10-99fc64874aad1ee0aea5c4d8c07e3529f9d03497.tar.gz linux-3.10-99fc64874aad1ee0aea5c4d8c07e3529f9d03497.tar.bz2 linux-3.10-99fc64874aad1ee0aea5c4d8c07e3529f9d03497.zip |
[DLM] add config entry to enable log_debug
Add a new dlm_config_info field to enable log_debug output and change
log_debug() to use it.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/config.c')
-rw-r--r-- | fs/dlm/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/dlm/config.c b/fs/dlm/config.c index 958021f9148..7cf20209b12 100644 --- a/fs/dlm/config.c +++ b/fs/dlm/config.c @@ -775,6 +775,7 @@ int dlm_our_addr(struct sockaddr_storage *addr, int num) #define DEFAULT_RECOVER_TIMER 5 #define DEFAULT_TOSS_SECS 10 #define DEFAULT_SCAN_SECS 5 +#define DEFAULT_LOG_DEBUG 0 struct dlm_config_info dlm_config = { .ci_tcp_port = DEFAULT_TCP_PORT, @@ -784,6 +785,7 @@ struct dlm_config_info dlm_config = { .ci_dirtbl_size = DEFAULT_DIRTBL_SIZE, .ci_recover_timer = DEFAULT_RECOVER_TIMER, .ci_toss_secs = DEFAULT_TOSS_SECS, - .ci_scan_secs = DEFAULT_SCAN_SECS + .ci_scan_secs = DEFAULT_SCAN_SECS, + .ci_log_debug = DEFAULT_LOG_DEBUG }; |