diff options
author | Mike Marshall <hubcap@omnibond.com> | 2019-03-25 23:17:10 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-05-03 20:32:39 +0200 |
commit | 4077a0f25b001926f86d35f6236351583bada9a4 (patch) | |
tree | 7111d8474310ee9726701dd673bcffebc64daf53 /fs/orangefs/orangefs-kernel.h | |
parent | orangefs: remember count when reading. (diff) | |
download | linux-4077a0f25b001926f86d35f6236351583bada9a4.tar.xz linux-4077a0f25b001926f86d35f6236351583bada9a4.zip |
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')
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 2 |
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 *); |