]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] FUSE - direct I/O
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 9 Sep 2005 20:10:35 +0000 (13:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 21:03:46 +0000 (14:03 -0700)
commitd5734b5eca2c0e858ffc77f0363f28d3ad40aed7
tree59acb15a73fa0dc4393a086fb83f016105d84b2a
parent0a24f8b125f159f65132c7cdd71bd679124489b4
[PATCH] FUSE - direct I/O

This patch adds support for the "direct_io" mount option of FUSE.

When this mount option is specified, the page cache is bypassed for
read and write operations.  This is useful for example, if the
filesystem doesn't know the size of files before reading them, or when
any kind of caching is harmful.

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
fs/fuse/fuse_i.h
fs/fuse/inode.c