diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-11-28 07:58:22 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-12-16 19:12:13 +0300 |
| commit | e0821645dd2d79180418dd9389e3e9e7e10e7281 (patch) | |
| tree | e1c1b7c3acba8c128f12ee1eef90c141ad79a179 /net/lapb/lapb_subr.c | |
| parent | 1cf746007005593aa51395302ca0d31814f4ce42 (diff) | |
| download | linux-e0821645dd2d79180418dd9389e3e9e7e10e7281.tar.xz | |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
