summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iwalk.h
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2020-04-30 07:41:37 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-13 08:44:35 -0700
commit2c567af418e3f9380c2051aada58b4e5a4b5c2ad (patch)
tree8b5c7c07983cd102b7ce5e41858fb6f90e284258 /fs/xfs/xfs_iwalk.h
parentdae2f8ed7992e88c8d62c54e8295ffc8475b4a80 (diff)
fs: Introduce DCACHE_DONTCACHE
DCACHE_DONTCACHE indicates a dentry should not be cached on final dput(). Also add a helper function to mark DCACHE_DONTCACHE on all dentries pointing to a specific inode when that inode is being set I_DONTCACHE. This facilitates dropping dentry references to inodes sooner which require eviction to swap S_DAX mode. Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_iwalk.h')
0 files changed, 0 insertions, 0 deletions