Orangefs: make some gossip statements more helpful.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
Mike Marshall
2016-02-16 17:09:09 -05:00
parent 897c5df6cf
commit 5253487e04
3 changed files with 41 additions and 21 deletions

View File

@@ -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 */