android_kernel_xiaomi_sm8350/fs/nfs
Christoph Hellwig fc33a7bb9c [PATCH] per-mountpoint noatime/nodiratime
Turn noatime and nodiratime into per-mount instead of per-sb flags.

After all the preparations this is a rather trivial patch.  The mount code
needs to treat the two options as per-mount instead of per-superblock, and
touch_atime needs to be changed to check the new MNT_ flags in addition to
the MS_ flags that are kept for filesystems that are always
noatime/nodiratime but not user settable anymore.  Besides that core code
only nfs needed an update because it's leaving atime updates to the server
and thus sets the S_NOATIME flag on every inode, but needs to know whether
it's a real noatime mount for an getattr optimization.

While we're at it I've killed the IS_NOATIME/IS_NODIRATIME macros that were
only used by touch_atime.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-10 08:01:34 -08:00
..
callback_proc.c
callback_xdr.c
callback.c NFSv4: Allow user to set the port used by the NFSv4 callback channel 2006-01-06 14:58:52 -05:00
callback.h NFSv4: Allow user to set the port used by the NFSv4 callback channel 2006-01-06 14:58:52 -05:00
delegation.c NFSv4: Fix an Oops in nfs_do_expire_all_delegations 2006-01-06 14:58:58 -05:00
delegation.h
dir.c [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem 2006-01-09 15:59:24 -08:00
direct.c
file.c
idmap.c NFSv4: Allow entries in the idmap cache to expire 2006-01-06 14:58:58 -05:00
inode.c [PATCH] per-mountpoint noatime/nodiratime 2006-01-10 08:01:34 -08:00
Makefile NFSv4: Allow user to set the port used by the NFSv4 callback channel 2006-01-06 14:58:52 -05:00
mount_clnt.c SUNRPC: get rid of cl_chatty 2006-01-06 14:58:56 -05:00
nfs2xdr.c NFS: get rid of some needless code obfuscation in xdr_encode_sattr(). 2006-01-06 14:58:57 -05:00
nfs3acl.c
nfs3proc.c NFSv3: try get_root user-supplied security_flavor 2006-01-06 14:58:55 -05:00
nfs3xdr.c NFS: Send valid mode bits to the server 2006-01-06 14:58:57 -05:00
nfs4_fs.h
nfs4proc.c
nfs4renewd.c
nfs4state.c
nfs4xdr.c NFS: Send valid mode bits to the server 2006-01-06 14:58:57 -05:00
nfsroot.c [PATCH] nfsroot: do not silently stop parsing on an unknown option 2006-01-08 20:13:57 -08:00
pagelist.c
proc.c NFS: Send valid mode bits to the server 2006-01-06 14:58:57 -05:00
read.c
symlink.c
sysctl.c NFSv4: Allow entries in the idmap cache to expire 2006-01-06 14:58:58 -05:00
unlink.c
write.c