diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-09 16:10:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 17:03:47 -0400 |
commit | 45323fb76465a9576220c7427dbac7b1e7ad3caf (patch) | |
tree | 5d3e5f9a01cdaf6aaabe38520d5bd5b2d744acd5 /fs/fuse/fuse_i.h | |
parent | 04730fef1f9c7277e5c730b193e681ac095b0507 (diff) |
[PATCH] fuse: more flexible caching
Make data caching behavior selectable on a per-open basis instead of
per-mount. Compatibility for the old mount options 'kernel_cache' and
'direct_io' is retained in the userspace library (version 2.4.0-pre1 or
later).
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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 8593d5bae7a6..84849601363e 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -30,12 +30,6 @@ | |||
30 | doing the mount will be allowed to access the filesystem */ | 30 | doing the mount will be allowed to access the filesystem */ |
31 | #define FUSE_ALLOW_OTHER (1 << 1) | 31 | #define FUSE_ALLOW_OTHER (1 << 1) |
32 | 32 | ||
33 | /** If the FUSE_KERNEL_CACHE flag is given, then cached data will not | ||
34 | be flushed on open */ | ||
35 | #define FUSE_KERNEL_CACHE (1 << 2) | ||
36 | |||
37 | /** Bypass the page cache for read and write operations */ | ||
38 | #define FUSE_DIRECT_IO (1 << 3) | ||
39 | 33 | ||
40 | /** FUSE inode */ | 34 | /** FUSE inode */ |
41 | struct fuse_inode { | 35 | struct fuse_inode { |