summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi2005-09-09 22:10:33 +0200
committerLinus Torvalds2005-09-09 23:03:46 +0200
commitdb50b96c0f28a21c5a4a19ecaba12d0972aab06a (patch)
treed7f2cb99de499c116ce08153a369044af0622c16 /fs/fuse/fuse_i.h
parent[PATCH] FUSE: add padding (diff)
downloadkernel-qcow2-linux-db50b96c0f28a21c5a4a19ecaba12d0972aab06a.tar.gz
kernel-qcow2-linux-db50b96c0f28a21c5a4a19ecaba12d0972aab06a.tar.xz
kernel-qcow2-linux-db50b96c0f28a21c5a4a19ecaba12d0972aab06a.zip
[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 86183c562104..aff3a01ea02b 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;