]> Gentwo Git Trees - linux/.git/commit
f2fs: Convert gc_data_segment() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Feb 2025 05:51:59 +0000 (05:51 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Mar 2025 17:02:26 +0000 (17:02 +0000)
commita86e109ee2c6214c9be5520285525710a6163f42
tree5b59423b9ba7e0dd1b84399776c7504f0d4fa099
parentab907aa2a2f3224c9ad47e768d8b911382e0ec83
f2fs: Convert gc_data_segment() to use a folio

Use f2fs_get_read_data_folio() instead of f2fs_get_read_data_page().
Saves a hidden call to compound_head() in f2fs_put_page().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c