diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-09 20:10:33 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 21:03:46 (GMT) |
commit | db50b96c0f28a21c5a4a19ecaba12d0972aab06a (patch) | |
tree | d7f2cb99de499c116ce08153a369044af0622c16 /fs/fuse/fuse_i.h | |
parent | 06663267b4b1e85ece73236ea720355668d4f736 (diff) | |
download | linux-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.h | 3 |
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; |