From 1477fe376ae51ae077430aea25aa6a7a34596768 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Sun, 18 Mar 2012 14:10:08 +0530 Subject: Logs: Improved logs in lock/unlock execution path Statedump will now start showing the lk-owner of the stack. Change-Id: I9f650ce9a8b528cd626c8bb595c1bd1050462c86 BUG: 803209 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2968 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/stack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/stack.c') diff --git a/libglusterfs/src/stack.c b/libglusterfs/src/stack.c index 787f9a318..6b852383a 100644 --- a/libglusterfs/src/stack.c +++ b/libglusterfs/src/stack.c @@ -109,6 +109,7 @@ gf_proc_dump_call_stack (call_stack_t *call_stack, const char *key_buf,...) gf_proc_dump_write("gid", "%d", call_stack->gid); gf_proc_dump_write("pid", "%d", call_stack->pid); gf_proc_dump_write("unique", "%Ld", call_stack->unique); + gf_proc_dump_write("lk-owner", "%s", lkowner_utoa (&call_stack->lk_owner)); if (call_stack->type == GF_OP_TYPE_FOP) gf_proc_dump_write("op", "%s", gf_fop_list[call_stack->op]); -- cgit