summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server-resolve.c
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-11-29 07:45:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-29 05:33:02 -0800
commit6c949d9d0ddc3397eac3207c0718743d49bd8707 (patch)
tree27eb25cd103783dac420beefe9d293a83e2a8562 /xlators/protocol/server/src/server-resolve.c
parent77a7250b16c119e20c2d5c66a80b559455953a47 (diff)
protocol/server: enhance trace logging
add logging of fop name, callid number and make logging more friendly Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
Diffstat (limited to 'xlators/protocol/server/src/server-resolve.c')
-rw-r--r--xlators/protocol/server/src/server-resolve.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c
index f7a2205..0db2946 100644
--- a/xlators/protocol/server/src/server-resolve.c
+++ b/xlators/protocol/server/src/server-resolve.c
@@ -524,6 +524,8 @@ server_resolve_done (call_frame_t *frame)
state = CALL_STATE (frame);
bound_xl = BOUND_XL (frame);
+ server_print_request (frame);
+
state->resume_fn (frame, bound_xl);
return 0;
@@ -581,13 +583,6 @@ resolve_and_resume (call_frame_t *frame, server_resume_fn_t fn)
this = frame->this;
- gf_log (BOUND_XL (frame)->name, GF_LOG_DEBUG,
- "RESOLVE %s() on %s %s",
- gf_fop_list[frame->root->op],
- state->resolve.path, state->resolve2.path);
-
- print_server_state (frame, state, this, 1);
-
server_resolve_all (frame);
return 0;