diff options
author | David Teigland <teigland@redhat.com> | 2008-01-16 12:03:41 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-01-30 12:04:43 -0500 |
commit | 594199ebaae5d77f025974dfcfa6651cc81325a8 (patch) | |
tree | 35e4d61197ec8c1cbc63274a3f4e6ad37bc9a265 /fs | |
parent | ce5246b972f7514af899a63c0faf831d05ed5ee1 (diff) |
dlm: change error message to debug
The invalid lockspace messages are normal and can appear relatively
often. They should be suppressed without debugging enabled.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/dlm/lock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index bc2e4ba4c1b..7ee7c7c5545 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c | |||
@@ -3857,8 +3857,9 @@ void dlm_receive_buffer(struct dlm_header *hd, int nodeid) | |||
3857 | 3857 | ||
3858 | ls = dlm_find_lockspace_global(hd->h_lockspace); | 3858 | ls = dlm_find_lockspace_global(hd->h_lockspace); |
3859 | if (!ls) { | 3859 | if (!ls) { |
3860 | log_print("invalid h_lockspace %x from %d cmd %d type %d", | 3860 | if (dlm_config.ci_log_debug) |
3861 | hd->h_lockspace, nodeid, hd->h_cmd, type); | 3861 | log_print("invalid lockspace %x from %d cmd %d type %d", |
3862 | hd->h_lockspace, nodeid, hd->h_cmd, type); | ||
3862 | 3863 | ||
3863 | if (hd->h_cmd == DLM_RCOM && type == DLM_RCOM_STATUS) | 3864 | if (hd->h_cmd == DLM_RCOM && type == DLM_RCOM_STATUS) |
3864 | dlm_send_ls_not_ready(nodeid, rc); | 3865 | dlm_send_ls_not_ready(nodeid, rc); |