diff options
| author | Vishal Moola (Oracle) <[email protected]> | 2022-08-23 17:40:21 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:03 -0700 |
| commit | 24a1efb4a91283c853a31fa4775d5c10c09129a4 (patch) | |
| tree | 66ad6bd32c55ba1bdeff73f0153b733d48d102b0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 47d55419951312d723de1b6ad53ee92948b8eace (diff) | |
nilfs2: convert nilfs_find_uncommited_extent() to use filemap_get_folios_contig()
Convert function to use folios throughout. This is in preparation for the
removal of find_get_pages_contig(). Now also supports large folios.
Also clean up an unnecessary if statement - pvec.pages[0]->index > index
will always evaluate to false, and filemap_get_folios_contig() returns 0
if there is no folio found at index.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vishal Moola (Oracle) <[email protected]>
Acked-by: Ryusuke Konishi <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: David Sterba <[email protected]>
Cc: David Sterba <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions