diff options
author | 2021-04-13 11:15:12 -0700 | |
---|---|---|
committer | 2021-04-15 09:35:51 -0700 | |
commit | b2197a36c0ef5b35a0ed83de744610a462da1ad3 (patch) | |
tree | 21611dca81125014a3e3904f8c4e8b7e7f2937fb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: remove XFS_IFINLINE (diff) | |
download | linux-rng-b2197a36c0ef5b35a0ed83de744610a462da1ad3.tar.xz linux-rng-b2197a36c0ef5b35a0ed83de744610a462da1ad3.zip |
xfs: remove XFS_IFEXTENTS
The in-memory XFS_IFEXTENTS is now only used to check if an inode with
extents still needs the extents to be read into memory before doing
operations that need the extent map. Add a new xfs_need_iread_extents
helper that returns true for btree format forks that do not have any
entries in the in-memory extent btree, and use that instead of checking
the XFS_IFEXTENTS flag.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions