From 5253487e0445d7bc9b7488e78aa3d65d4bbb158e Mon Sep 17 00:00:00 2001 From: Mike Marshall Date: Tue, 16 Feb 2016 17:09:09 -0500 Subject: Orangefs: make some gossip statements more helpful. Signed-off-by: Mike Marshall --- fs/orangefs/waitqueue.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'fs/orangefs/waitqueue.c') diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c index 36eedd6a8335..2c47f159d1d8 100644 --- a/fs/orangefs/waitqueue.c +++ b/fs/orangefs/waitqueue.c @@ -67,11 +67,10 @@ int service_operation(struct orangefs_kernel_op_s *op, retry_servicing: op->downcall.status = 0; gossip_debug(GOSSIP_WAIT_DEBUG, - "orangefs: service_operation: %s %p\n", + "%s: %s op:%p: process:%s: pid:%d:\n", + __func__, op_name, - op); - gossip_debug(GOSSIP_WAIT_DEBUG, - "orangefs: operation posted by process: %s, pid: %i\n", + op, current->comm, current->pid); @@ -122,6 +121,13 @@ retry_servicing: ret = wait_for_matching_downcall(op, timeout, flags & ORANGEFS_OP_INTERRUPTIBLE); + + gossip_debug(GOSSIP_WAIT_DEBUG, + "%s: wait_for_matching_downcall returned %d for %p\n", + __func__, + ret, + op); + if (!ret) { spin_unlock(&op->lock); /* got matching downcall; make sure status is in errno format */ -- cgit v1.2.3