aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVishal Moola (Oracle) <[email protected]>2023-01-04 13:14:39 -0800
committerAndrew Morton <[email protected]>2023-02-02 22:33:16 -0800
commit1cd98ee747cff120ee9b93988ddb7315d8d8f8e7 (patch)
tree5d0e97468293bd2f7536c791081c2d214ee9d9a3 /tools/perf/scripts/python
parent7525486affa518c9e7ffc9b9dbc966021041ebde (diff)
f2fs: convert f2fs_write_cache_pages() to use filemap_get_folios_tag()
Convert the function to use a folio_batch instead of pagevec. This is in preparation for the removal of find_get_pages_range_tag(). Also modified f2fs_all_cluster_page_ready to take in a folio_batch instead of pagevec. This does NOT support large folios. The function currently only utilizes folios of size 1 so this shouldn't cause any issues right now. This version of the patch limits the number of pages fetched to F2FS_ONSTACK_PAGES. If that ever happens, update the start index here since filemap_get_folios_tag() updates the index to be after the last found folio, not necessarily the last used page. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Vishal Moola (Oracle) <[email protected]> Acked-by: Chao Yu <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions