diff options
| author | 2018-07-11 22:25:57 -0700 | |
|---|---|---|
| committer | 2018-07-11 22:25:57 -0700 | |
| commit | 036257213836e13f08d1b28e528ba99e4ed3fc68 (patch) | |
| tree | 68783ff79d5ff7bb9f8f234bd34a3a84840ac9d0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | xfs: use iomap for blocksize == PAGE_SIZE readpage and readpages (diff) | |
xfs: simplify xfs_aops_discard_page
Instead of looking at the buffer heads to see if a block is delalloc just
call xfs_bmap_punch_delalloc_range on the whole page - this will leave
any non-delalloc block intact and handle the iteration for us. As a side
effect one more place stops caring about buffer heads and we can remove the
xfs_check_page_type function entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions
