summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/waitqueue.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-02-16 17:09:09 -0500
committerMike Marshall <hubcap@omnibond.com>2016-02-19 13:45:55 -0500
commit5253487e0445d7bc9b7488e78aa3d65d4bbb158e (patch)
treed122b3021dec4a9604dae7df29966514153fa9f5 /fs/orangefs/waitqueue.c
parent897c5df6cf8c10d2557c098641faa62f65ef8598 (diff)
downloadlinux-0-day-5253487e0445d7bc9b7488e78aa3d65d4bbb158e.tar.gz
linux-0-day-5253487e0445d7bc9b7488e78aa3d65d4bbb158e.tar.xz
Orangefs: make some gossip statements more helpful.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/waitqueue.c')
-rw-r--r--fs/orangefs/waitqueue.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c
index 36eedd6a8335f..2c47f159d1d8e 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 */