summaryrefslogtreecommitdiffstats
path: root/xlators
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
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')
-rw-r--r--xlators/cluster/dht/src/dht-diskusage.c4
-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
4 files changed, 8 insertions, 8 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c
index d27d8bf91b8..0b8c116ca40 100644
--- a/xlators/cluster/dht/src/dht-diskusage.c
+++ b/xlators/cluster/dht/src/dht-diskusage.c
@@ -48,7 +48,7 @@ dht_du_info_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
prev = cookie;
if (op_ret == -1) {
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_WARNING,
"failed to get disk info from %s", prev->this->name);
goto out;
}
@@ -64,7 +64,7 @@ dht_du_info_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (prev->this == conf->subvolumes[i]) {
conf->du_stats[i].avail_percent = percent;
conf->du_stats[i].avail_space = bytes;
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"on subvolume '%s': avail_percent is: "
"%.2f and avail_space is: %"PRIu64"",
prev->this->name,
diff --git a/xlators/protocol/client/src/client-lk.c b/xlators/protocol/client/src/client-lk.c
index 31c56a05f5b..5334500a96c 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 6f93eccc0d0..fe58786f78d 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 06bc07d3c40..5c199e4dc22 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;