summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-08-04 18:56:52 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-08-04 17:38:41 -0700
commit546390e845166ffcfcce6e47e105a453c3ac565c (patch)
tree7d9b3c9812a38116d6a0011eba2402de1676db44 /xlators/protocol
parente981886cb1da8cbde1f93a9ab249130e8be163f5 (diff)
server-lookup: added path info from header to log message
in the previous commit, the path info was removed to prevent the segfault, which instead could have been provided from request header directly. More specific information is required for debugging, and hence adding the path log. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 189 (segfault in server-lookup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=189
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/server/src/server-protocol.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c
index 2516756b2c4..86c8be962b6 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -3442,9 +3442,10 @@ server_lookup (call_frame_t *frame, xlator_t *bound_xl,
&xattr_req);
if (ret < 0) {
gf_log (bound_xl->name, GF_LOG_ERROR,
- "%"PRId64": failed to unserialize "
- "request buffer to dictionary",
- frame->root->unique);
+ "%"PRId64": %s (%"PRId64"): failed to "
+ "unserialize req-buffer to dictionary",
+ frame->root->unique, state->path,
+ state->ino);
free (req_dictbuf);
goto fail;
} else{