diff options
author | Dominique Martinet <dominique.martinet@cea.fr> | 2014-01-10 07:44:09 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2014-01-10 10:20:51 -0500 |
commit | fb89b45cdfdc8bdab93986f1bc1474e313295c31 (patch) | |
tree | c19ec0f84315c6dc77ca2447f58e2508b76ce88a /fs/9p/v9fs.h | |
parent | f94741fd2832e7abc30fbf6dc13ed627c1fcc01a (diff) |
9P: introduction of a new cache=mmap model.
- Add cache=mmap option
- Make mmap read-write while keeping it as synchronous as possible
- Build writeback fid on mmap creation if it is writable
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/v9fs.h')
-rw-r--r-- | fs/9p/v9fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h index a8e127c89627..099c7712631c 100644 --- a/fs/9p/v9fs.h +++ b/fs/9p/v9fs.h | |||
@@ -64,6 +64,7 @@ enum p9_session_flags { | |||
64 | 64 | ||
65 | enum p9_cache_modes { | 65 | enum p9_cache_modes { |
66 | CACHE_NONE, | 66 | CACHE_NONE, |
67 | CACHE_MMAP, | ||
67 | CACHE_LOOSE, | 68 | CACHE_LOOSE, |
68 | CACHE_FSCACHE, | 69 | CACHE_FSCACHE, |
69 | }; | 70 | }; |