diff options
author | Eric Van Hensbergen <ericvh@kernel.org> | 2022-12-17 20:19:34 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@kernel.org> | 2023-03-27 05:33:48 +0300 |
commit | 8142db4f2792717837b97e219e5f5203dde17abb (patch) | |
tree | 2add352a8ebd213de823c5384a83b6e81af952ae /fs/9p/v9fs.h | |
parent | 740b8bf87322701b4607b77346477cbc764f5c56 (diff) | |
download | linux-8142db4f2792717837b97e219e5f5203dde17abb.tar.xz |
fs/9p: allow disable of xattr support on mount
xattr creates a lot of additional messages for 9p in
the current implementation. This allows users to
conditionalize xattr support on 9p mount if they
are on a connection with bad latency. Using this
flag is also useful when debugging other aspects
of 9p as it reduces the noise in the trace files.
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Reviewed-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'fs/9p/v9fs.h')
-rw-r--r-- | fs/9p/v9fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h index e5d41804b3cd..8cd63782a25c 100644 --- a/fs/9p/v9fs.h +++ b/fs/9p/v9fs.h @@ -36,7 +36,8 @@ enum p9_session_flags { V9FS_ACCESS_SINGLE = 0x04, V9FS_ACCESS_USER = 0x08, V9FS_ACCESS_CLIENT = 0x10, - V9FS_POSIX_ACL = 0x20 + V9FS_POSIX_ACL = 0x20, + V9FS_NO_XATTR = 0x40 }; /* possible values of ->cache */ |