From 476d5ab635e1069246c21d65773e9f9c91852217 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Thu, 2 Jun 2011 09:19:34 +0000 Subject: protocol/server: logging changes Signed-off-by: Raghavendra Bhat Signed-off-by: Anand Avati BUG: 2982 ([glusterfs-3.2.1qa2]: logging changes is server protocol) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2982 --- xlators/protocol/server/src/server-resolve.c | 11 +---------- xlators/protocol/server/src/server3_1-fops.c | 2 +- 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 0b0487a24..957a6d5fd 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 569a46742..22602d9d7 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)); -- cgit