summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/file.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-03-03 19:46:48 +0100
committerMike Marshall <hubcap@omnibond.com>2016-03-03 19:46:48 +0100
commit9d9e7ba9ee8f304c4608f3c81aa5e7fb3bddd251 (patch)
tree73cd63e6279ae26fa5415fdaf65d08a67c417a8c /fs/orangefs/file.c
parentOrangefs: update orangefs.txt (diff)
downloadlinux-9d9e7ba9ee8f304c4608f3c81aa5e7fb3bddd251.tar.xz
linux-9d9e7ba9ee8f304c4608f3c81aa5e7fb3bddd251.zip
Orangefs: improve gossip statements
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/file.c')
-rw-r--r--fs/orangefs/file.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index 399d5288dc1a..6f2e0f745c5d 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -214,18 +214,14 @@ populate_shared_memory:
goto out;
}
gossip_debug(GOSSIP_FILE_DEBUG,
- "%s(%pU): Amount written as returned by the sys-io call:%d\n",
+ "%s(%pU): Amount %s, returned by the sys-io call:%d\n",
__func__,
handle,
+ type == ORANGEFS_IO_READ ? "read" : "written",
(int)new_op->downcall.resp.io.amt_complete);
ret = new_op->downcall.resp.io.amt_complete;
- /*
- * tell the device file owner waiting on I/O that this read has
- * completed and it can return now.
- */
-
out:
if (buffer_index >= 0) {
orangefs_bufmap_put(buffer_index);