Re: [PATCH v9 00/15] Use generic_file_read_iter() in hugetlbfs
[email protected] Thu, 6 Aug 2026 12:47:59 -0700
| Newsgroups | gmane.linux.file-systems,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
Hi, Matthew, On 8/5/2026 2:05 PM, Matthew Wilcox (Oracle) wrote: > This set of patches are separated out from Jane's earlier series. > https://lore.kernel.org/linux-mm/[email protected]/ > > We need three things to use filemap_read_iter() instead of a hugetlbfs > specific read_iter: hwpoison handling, treating gaps in the pagecache as > holes, and having hugetlb set the folio size in the mapping. hwopison > handling turned out to need a lot of prep work; the other two things > are fairly straightforward. > > Sashiko complains that the implementation of AS_AUTHORITATIVE is > incomplete, but hugetlbfs doesn't use any of that functionality. > We'll add it when we need it, either when hugetlbfs uses it, or when we > convert shmem to use filemap. I've run some tests (read over hole, hwpoison etc) for the series, the results look good. -thanks, -jane