[PATCH] fuse: use asynchronous READ requests for readpages
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 17 Jan 2006 06:14:46 +0000 (22:14 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:15:31 +0000 (23:15 -0800)
commitc1aa96a52e9594fb16296c0d76c2066773d62933
treea4fce3fa93710d66f536a8333be97fb629429eed
parent361b1eb55ea84181505c7f0674ca1205da1127ab
[PATCH] fuse: use asynchronous READ requests for readpages

This patch changes fuse_readpages() to send READ requests asynchronously.

This makes it possible for userspace filesystems to utilize the kernel
readahead logic instead of having to implement their own (resulting in double
caching).

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/file.c