diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-02-20 08:18:20 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-03-25 17:08:55 -0700 |
commit | 13a296999ea49dd4cb16cab75c3aef5e691ed124 (patch) | |
tree | 01352ba13312a481be236c65046f47c8d569bbc4 /fs/xfs/xfs_itable.h | |
parent | 2fc33b20316a173c7de3451b6cb6c64d6ca900b2 (diff) |
xfs: experiment with dontcache when scanning inodesvectorized-scrub_2021-03-25
Add some experimental flags to drop inodes from the cache after a scan.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_itable.h')
-rw-r--r-- | fs/xfs/xfs_itable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_itable.h b/fs/xfs/xfs_itable.h index f5a13f69883a..7fc2e40d30bd 100644 --- a/fs/xfs/xfs_itable.h +++ b/fs/xfs/xfs_itable.h @@ -22,6 +22,9 @@ struct xfs_ibulk { /* Signal that we can return metadata directories. */ #define XFS_IBULK_METADIR (XFS_IWALK_METADIR) +/* Don't drop inodes. */ +#define XFS_IBULK_RETAIN_INODES (XFS_IWALK_RETAIN_INODES) + /* * Advance the user buffer pointer by one record of the given size. If the * buffer is now full, return the appropriate error code. |