]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
f2fs: Use a folio more in f2fs_submit_page_bio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Nov 2024 04:58:23 +0000 (04:58 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 Dec 2024 16:12:16 +0000 (16:12 +0000)
commit0765b3f989a7eb757252951b21a244bfa3224561
treee42b4ad2720001d986f76b89be2ecb965c776a8e
parente0821645dd2d79180418dd9389e3e9e7e10e7281
f2fs: Use a folio more in f2fs_submit_page_bio()

Cache the result of page_folio(fio->page) in a local variable so
we don't have to keep calling it.  Saves a couple of calls to
compound_head() and removes an access to page->mapping.

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/data.c