diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-06-02 09:19:34 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-08 09:58:16 -0700 |
commit | 476d5ab635e1069246c21d65773e9f9c91852217 (patch) | |
tree | c835d356f67b0a7e01ae66ce9ae0cc007940a4f5 /xlators | |
parent | 5e5638795ce820de7e087c438e618eaf7335059b (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')
-rw-r--r-- | xlators/protocol/server/src/server-resolve.c | 11 | ||||
-rw-r--r-- | 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)); |