kernel_optimize_test/fs/fuse
Miklos Szeredi 9cd6845511 [PATCH] fuse: fix async read for legacy filesystems
While asynchronous reads mean a performance improvement in most cases, if
the filesystem assumed that reads are synchronous, then async reads may
degrade performance (filesystem may receive reads out of order, which can
confuse it's own readahead logic).

With sshfs a 1.5 to 4 times slowdown can be measured.

There's also a need for userspace filesystems to know whether asynchronous
reads are supported by the kernel or not.

To achive these, negotiate in the INIT request whether async reads will be
used and the maximum readahead value.  Update interface version to 7.6

If userspace uses a version earlier than 7.6, then disable async reads, and
set maximum readahead value to the maximum read size, as done in previous
versions.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-01 08:53:09 -08:00
..
dev.c [PATCH] fuse: move INIT handling to inode.c 2006-01-16 23:15:31 -08:00
dir.c [PATCH] fuse: READ request initialization 2006-01-16 23:15:31 -08:00
file.c [PATCH] fuse: fix async read for legacy filesystems 2006-02-01 08:53:09 -08:00
fuse_i.h [PATCH] fuse: fix async read for legacy filesystems 2006-02-01 08:53:09 -08:00
inode.c [PATCH] fuse: fix async read for legacy filesystems 2006-02-01 08:53:09 -08:00
Makefile [PATCH] FUSE - file operations 2005-09-09 14:03:45 -07:00