summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-06-03 01:05:32 +0000
committerAnand Avati <avati@gluster.com>2011-06-08 09:57:40 -0700
commitd11c17b8dae415f0f5c9af2cd4ec3423419ff996 (patch)
treef89ee1085a070c2f26e084beb26aa3b1fc1d6d4a /xlators/protocol/server
parent2c421f21040e1f9273cb9850c95756d3a4ca91af (diff)
protocol/server: logging changes
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2982 ([glusterfs-3.2.1qa2]: logging changes is server protocol) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2982
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r--xlators/protocol/server/src/server-resolve.c11
-rw-r--r--xlators/protocol/server/src/server3_1-fops.c2
2 files changed, 2 insertions, 11 deletions
diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c
index 0b0487a242a..957a6d5fdf9 100644
--- a/xlators/protocol/server/src/server-resolve.c
+++ b/xlators/protocol/server/src/server-resolve.c
@@ -378,15 +378,6 @@ resolve_entry_simple (call_frame_t *frame)
resolve->op_ret = -1;
resolve->op_errno = ENOENT;
ret = 1;
-
- inode = inode_grep (state->itable, parent, resolve->bname);
- if (inode != NULL) {
- gf_log (this->name, GF_LOG_DEBUG, "%"PRId64": inode "
- "(pointer:%p ino: %"PRIu64") present but parent"
- " is NULL for path (%s)", frame->root->unique,
- inode, inode->ino, resolve->path);
- inode_unref (inode);
- }
goto out;
}
@@ -414,7 +405,7 @@ resolve_entry_simple (call_frame_t *frame)
}
if (resolve->type == RESOLVE_NOT) {
- gf_log (this->name, GF_LOG_INFO, "inode (pointer: %p ino:%"
+ gf_log (this->name, GF_LOG_DEBUG, "inode (pointer: %p ino:%"
PRIu64") found for path (%s) while type is RESOLVE_NOT",
inode, inode->ino, resolve->path);
resolve->op_ret = -1;
diff --git a/xlators/protocol/server/src/server3_1-fops.c b/xlators/protocol/server/src/server3_1-fops.c
index 569a4674245..22602d9d75e 100644
--- a/xlators/protocol/server/src/server3_1-fops.c
+++ b/xlators/protocol/server/src/server3_1-fops.c
@@ -334,7 +334,7 @@ server_entrylk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
frame->root->lk_owner, GF_FOP_ENTRYLK);
} else if ((op_errno != ENOSYS) && (op_errno != EAGAIN)) {
gf_log (this->name, GF_LOG_INFO,
- "%"PRId64": INODELK %s (%"PRId64") ==> %"PRId32" (%s)",
+ "%"PRId64": ENTRYLK %s (%"PRId64") ==> %"PRId32" (%s)",
frame->root->unique, state->loc.path,
state->loc.inode ? state->loc.inode->ino : 0, op_ret,
strerror (op_errno));