diff options
author | 2017-10-19 11:08:51 -0700 | |
---|---|---|
committer | 2017-10-26 15:38:28 -0700 | |
commit | 40591bdbccc47661050d98200ab65e77fa2324bd (patch) | |
tree | d6669d9f9f19c02b8c0ecc4e4a536713450d0492 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: update got in xfs_bmap_shift_update_extent (diff) | |
download | linux-dev-40591bdbccc47661050d98200ab65e77fa2324bd.tar.xz linux-dev-40591bdbccc47661050d98200ab65e77fa2324bd.zip |
xfs: don't rely on extent indices in xfs_bmap_collapse_extents
Rewrite xfs_bmap_collapse_extents so that we don't rely on extent indices
except for iterating over them. Not being able to iterate to the next
extent is a sufficient exit condition, and we don't need to do any extent
count games given that:
a) we already flushed all delalloc extents past our start offset
before doing the operation
b) xfs_iext_count() includes delalloc extents anyway
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions