diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-11-30 17:03:19 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-12-09 09:39:38 -0500 |
commit | 01cbf3853959feec40ec9b9a399e12a021cd4d81 (patch) | |
tree | 08d0a82ebf7f276dccc2c3d45792effffbd1b14f /include/linux/exportfs.h | |
parent | 2e19d10c1438241de32467637a2a411971547991 (diff) | |
download | lwn-01cbf3853959feec40ec9b9a399e12a021cd4d81.tar.gz lwn-01cbf3853959feec40ec9b9a399e12a021cd4d81.zip |
nfsd: Set PF_LOCAL_THROTTLE on local filesystems only
Don't set PF_LOCAL_THROTTLE on remote filesystems like NFS, since they
aren't expected to ever be subject to double buffering.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/exportfs.h')
-rw-r--r-- | include/linux/exportfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h index 846df3c96730..d93e8a6737bb 100644 --- a/include/linux/exportfs.h +++ b/include/linux/exportfs.h @@ -216,6 +216,7 @@ struct export_operations { #define EXPORT_OP_NOWCC (0x1) /* don't collect v3 wcc data */ #define EXPORT_OP_NOSUBTREECHK (0x2) /* no subtree checking */ #define EXPORT_OP_CLOSE_BEFORE_UNLINK (0x4) /* close files before unlink */ +#define EXPORT_OP_REMOTE_FS (0x8) /* Filesystem is remote */ unsigned long flags; }; |