]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hostfs: Convert to writepages
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 20 Dec 2024 05:14:58 +0000 (05:14 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2025 12:51:16 +0000 (13:51 +0100)
commitaf10dd16655339a48178221fc4b73fbf171dd739
treee74ee90b575fd2ac622fed915ea974310f6877d3
parent579e7fd383ff3f7a4f685489f8fe18cfd8659074
hostfs: Convert to writepages

If we add a migrate_folio operation, we can convert the writepage
operation to writepages.  The large folio support here is illusory;
we would need to kmap each page in turn for proper support.  But we do
remove a few hidden calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20241220051500.1919389-1-willy@infradead.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
fs/hostfs/hostfs_kern.c