summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2015-12-11 18:50:42 +0300
committerMike Marshall <hubcap@omnibond.com>2015-12-11 18:50:42 +0300
commitb5e376ea8b20d5d0b48871d2c05916d69da4e604 (patch)
tree049ee722fbb4c863f1be88691cc7563a34f0f551 /fs
parent7cec28e91d15ae6d145d8a4ef6cc5ed7c08e70bd (diff)
downloadlinux-b5e376ea8b20d5d0b48871d2c05916d69da4e604.tar.xz
Orangefs: improve comments
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/orangefs/orangefs-bufmap.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/orangefs/orangefs-bufmap.c b/fs/orangefs/orangefs-bufmap.c
index c5368d852ee2..f7cd18a2a73b 100644
--- a/fs/orangefs/orangefs-bufmap.c
+++ b/fs/orangefs/orangefs-bufmap.c
@@ -499,6 +499,10 @@ void readdir_index_put(struct orangefs_bufmap *bufmap, int buffer_index)
orangefs_bufmap_unref(bufmap);
}
+/*
+ * we've been handed an iovec, we need to copy it to
+ * the shared memory descriptor at "buffer_index".
+ */
int orangefs_bufmap_copy_from_iovec(struct orangefs_bufmap *bufmap,
struct iov_iter *iter,
int buffer_index,
@@ -527,9 +531,8 @@ int orangefs_bufmap_copy_from_iovec(struct orangefs_bufmap *bufmap,
}
/*
- * Iterate through the array of pages containing the bytes from
- * a file being read.
- *
+ * we've been handed an iovec, we need to fill it from
+ * the shared memory descriptor at "buffer_index".
*/
int orangefs_bufmap_copy_to_iovec(struct orangefs_bufmap *bufmap,
struct iov_iter *iter,