summaryrefslogtreecommitdiff
path: root/fs/orangefs/file.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-03-03 13:46:48 -0500
committerMike Marshall <hubcap@omnibond.com>2016-03-03 13:46:48 -0500
commit9d9e7ba9ee8f304c4608f3c81aa5e7fb3bddd251 (patch)
tree73cd63e6279ae26fa5415fdaf65d08a67c417a8c /fs/orangefs/file.c
parent9f08cfe94417f782393330cbfc95617c04f051c2 (diff)
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);