summaryrefslogtreecommitdiff
path: root/fs/9p/v9fs.h
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@kernel.org>2022-12-18 23:34:45 +0300
committerEric Van Hensbergen <ericvh@kernel.org>2023-03-27 05:33:48 +0300
commit6deffc8924b59df173da5fc7a9c96d3717cd9e96 (patch)
tree889271459f1616f67f698d282df9ec844043d4a5 /fs/9p/v9fs.h
parent46c30cb8f5393586c6ebc7b53a235c85bfac1de8 (diff)
downloadlinux-6deffc8924b59df173da5fc7a9c96d3717cd9e96.tar.xz
fs/9p: Add new mount modes
Add some additional mount modes for cache management including specifying directio as a mount option and an option for ignore qid.version for determining whether or not a file is cacheable. Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Diffstat (limited to 'fs/9p/v9fs.h')
-rw-r--r--fs/9p/v9fs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h
index 8cd63782a25c..12401f1be5d6 100644
--- a/fs/9p/v9fs.h
+++ b/fs/9p/v9fs.h
@@ -37,7 +37,10 @@ enum p9_session_flags {
V9FS_ACCESS_USER = 0x08,
V9FS_ACCESS_CLIENT = 0x10,
V9FS_POSIX_ACL = 0x20,
- V9FS_NO_XATTR = 0x40
+ V9FS_NO_XATTR = 0x40,
+ V9FS_IGNORE_QV = 0x80, /* ignore qid.version for cache hints */
+ V9FS_DIRECT_IO = 0x100,
+ V9FS_SYNC = 0x200
};
/* possible values of ->cache */