summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorSachidananda Urs <sac@gluster.com>2011-10-29 14:20:02 +0530
committerVijay Bellur <vijay@gluster.com>2011-11-15 23:30:22 -0800
commit5e14417b478520620bb5990eda41e3ad3e9af09c (patch)
treeb8a1913c6abc7798cf955c1293f9f465a8284ae5 /xlators/protocol
parent78f3ee4fb1687db948ad5d07d1ed9e6177cc54bc (diff)
Move some of the messages to log level `TRACE'.
Change-Id: I46133b5e2218b9d810251b3dadadd8f157ab07d7 BUG: 3761 Reviewed-on: http://review.gluster.com/643 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/client/src/client-lk.c8
-rw-r--r--xlators/protocol/client/src/client3_1-fops.c2
-rw-r--r--xlators/protocol/legacy/client/src/client-protocol.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/xlators/protocol/client/src/client-lk.c b/xlators/protocol/client/src/client-lk.c
index 31c56a05f..5334500a9 100644
--- a/xlators/protocol/client/src/client-lk.c
+++ b/xlators/protocol/client/src/client-lk.c
@@ -380,7 +380,7 @@ delete_granted_locks_owner (fd_t *fd, uint64_t owner)
this = THIS;
fdctx = this_fd_get_ctx (fd, this);
if (!fdctx) {
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_WARNING,
"fdctx not valid");
ret = -1;
goto out;
@@ -404,7 +404,7 @@ delete_granted_locks_owner (fd_t *fd, uint64_t owner)
}
/* FIXME: Need to actually print the locks instead of count */
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"Number of locks cleared=%d", count);
out:
@@ -438,7 +438,7 @@ delete_granted_locks_fd (clnt_fd_ctx_t *fdctx)
}
/* FIXME: Need to actually print the locks instead of count */
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"Number of locks cleared=%d", count);
return ret;
@@ -654,7 +654,7 @@ cleanup:
STACK_DESTROY (frame->root);
fd_count = decrement_reopen_fd_count (this, conf);
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"Need to attempt lock recovery on %lld open fds",
(unsigned long long) fd_count);
return 0;
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c
index 6f93eccc0..fe58786f7 100644
--- a/xlators/protocol/client/src/client3_1-fops.c
+++ b/xlators/protocol/client/src/client3_1-fops.c
@@ -726,7 +726,7 @@ client3_1_flush_cbk (struct rpc_req *req, struct iovec *iov, int count,
if (rsp.op_ret >= 0) {
/* Delete all saved locks of the owner issuing flush */
ret = delete_granted_locks_owner (local->fd, local->owner);
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"deleting locks of owner (%llu) returned %d",
(long long unsigned) local->owner, ret);
}
diff --git a/xlators/protocol/legacy/client/src/client-protocol.c b/xlators/protocol/legacy/client/src/client-protocol.c
index 06bc07d3c..5c199e4dc 100644
--- a/xlators/protocol/legacy/client/src/client-protocol.c
+++ b/xlators/protocol/legacy/client/src/client-protocol.c
@@ -479,7 +479,7 @@ client_start_ping (void *data)
}
if (frame_count < 0) {
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"saved_frames->count is %"PRId64,
conn->saved_frames->count);
conn->saved_frames->count = 0;