diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-11-28 04:58:22 +0000 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-12-16 16:12:13 +0000 |
commit | e0821645dd2d79180418dd9389e3e9e7e10e7281 (patch) | |
tree | e1c1b7c3acba8c128f12ee1eef90c141ad79a179 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1cf746007005593aa51395302ca0d31814f4ce42 (diff) |
f2fs: Convert f2fs_finish_read_bio() to use folios
Use bio_for_each_folio_all() to iterate over each folio in the bio.
This lets us use folio_end_read() which saves an atomic operation and
memory barrier compared to marking the folio uptodate and unlocking
it as two separate operations. This also removes a few hidden calls
to compound_head().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions