diff options
author | 2024-11-28 04:58:22 +0000 | |
---|---|---|
committer | 2024-12-16 16:12:13 +0000 | |
commit | e0821645dd2d79180418dd9389e3e9e7e10e7281 (patch) | |
tree | e1c1b7c3acba8c128f12ee1eef90c141ad79a179 /scripts/lib/kdoc/kdoc_files.py | |
parent | f2fs: Add F2FS_F_SB() (diff) | |
download | linux-rng-e0821645dd2d79180418dd9389e3e9e7e10e7281.tar.xz linux-rng-e0821645dd2d79180418dd9389e3e9e7e10e7281.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions