path: root/fs/orangefs/orangefs-kernel.h
diff options
authorMike Marshall <hubcap@omnibond.com>2019-03-25 18:17:10 -0400
committerMike Marshall <hubcap@omnibond.com>2019-05-03 14:32:39 -0400
commit4077a0f25b001926f86d35f6236351583bada9a4 (patch)
tree7111d8474310ee9726701dd673bcffebc64daf53 /fs/orangefs/orangefs-kernel.h
parentorangefs: remember count when reading. (diff)
orangefs: pass slot index back to readpage.
When userspace deposits more than a page of data into the shared buffer, we'll need to know which slot it is in when we get back to readpage so that we can try to use the extra data to fill some extra pages. Signed-off-by: Mike Marshall <hubcap@omnibond.com> Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index 3ae2f129b9c7..572dd29fbd54 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -398,7 +398,7 @@ bool __is_daemon_in_service(void);
int orangefs_revalidate_mapping(struct inode *);
ssize_t wait_for_direct_io(enum ORANGEFS_io_type, struct inode *, loff_t *,
- struct iov_iter *, size_t, loff_t, struct orangefs_write_range *);
+ struct iov_iter *, size_t, loff_t, struct orangefs_write_range *, int *);
ssize_t do_readv_writev(enum ORANGEFS_io_type, struct file *, loff_t *,
struct iov_iter *);