fs: aio: convert to ring_folios and internal_folios
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 21 Mar 2024 13:16:40 +0000 (21:16 +0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 5 Apr 2024 13:53:47 +0000 (15:53 +0200)
commit16594e60cd8e6d4ce600b96b343ec11854a0f8d8
tree952a559ad5e8433bc34af0222280616daa0a8314
parent5ea0a35511895f10b965e24ed6f11adae47668d2
fs: aio: convert to ring_folios and internal_folios

Since aio use folios in most functions, convert ring/internal_pages
to ring/internal_folios, let's directly use folio instead of page
throughout aio to remove hidden calls to compound_head(), eg,
flush_dcache_page().

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20240321131640.948634-4-wangkefeng.wang@huawei.com
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/aio.c