diff options
| author | Christoph Hellwig <[email protected]> | 2018-07-11 22:25:57 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-07-11 22:25:57 -0700 |
| commit | 036257213836e13f08d1b28e528ba99e4ed3fc68 (patch) | |
| tree | 68783ff79d5ff7bb9f8f234bd34a3a84840ac9d0 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 8b2e77c1634935aefc9a4e2aacadda9cd30b78d7 (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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions