summaryrefslogtreecommitdiff
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-09-09 20:10:33 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 21:03:46 (GMT)
commitdb50b96c0f28a21c5a4a19ecaba12d0972aab06a (patch)
treed7f2cb99de499c116ce08153a369044af0622c16 /fs/fuse/fuse_i.h
parent06663267b4b1e85ece73236ea720355668d4f736 (diff)
downloadlinux-fsl-qoriq-db50b96c0f28a21c5a4a19ecaba12d0972aab06a.tar.xz
[PATCH] FUSE - readpages operation
This patch adds readpages support to FUSE. With the help of the readpages() operation multiple reads are bundled together and sent as a single request to userspace. This can improve reading performace. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 86183c5..aff3a01 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -201,6 +201,9 @@ struct fuse_conn {
/** The fuse mount flags for this mount */
unsigned flags;
+ /** Maximum read size */
+ unsigned max_read;
+
/** Readers of the connection are waiting on this */
wait_queue_head_t waitq;