Re: [PATCH 00/11] iomap/fs/block patches for 5.11

From: William Kucharski
Date: Tue Aug 25 2020 - 06:29:33 EST


Really nice improvements here.

Reviewed-by: William Kucharski <william.kucharski@xxxxxxxxxx>

> On Aug 24, 2020, at 9:16 AM, Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:
>
> As promised earlier [1], here are the patches which I would like to
> merge into 5.11 to support THPs. They depend on that earlier series.
> If there's anything in here that you'd like to see pulled out and added
> to that earlier series, let me know.
>
> There are a couple of pieces in here which aren't exactly part of
> iomap, but I think make sense to take through the iomap tree.
>
> [1] https://lore.kernel.org/linux-fsdevel/20200824145511.10500-1-willy@xxxxxxxxxxxxx/
>
> Matthew Wilcox (Oracle) (11):
> fs: Make page_mkwrite_check_truncate thp-aware
> mm: Support THPs in zero_user_segments
> mm: Zero the head page, not the tail page
> block: Add bio_for_each_thp_segment_all
> iomap: Support THPs in iomap_adjust_read_range
> iomap: Support THPs in invalidatepage
> iomap: Support THPs in read paths
> iomap: Change iomap_write_begin calling convention
> iomap: Support THPs in write paths
> iomap: Inline data shouldn't see THPs
> iomap: Handle tail pages in iomap_page_mkwrite
>
> fs/iomap/buffered-io.c | 178 ++++++++++++++++++++++++----------------
> include/linux/bio.h | 13 +++
> include/linux/bvec.h | 27 ++++++
> include/linux/highmem.h | 15 +++-
> include/linux/pagemap.h | 10 +--
> mm/highmem.c | 62 +++++++++++++-
> mm/shmem.c | 7 ++
> mm/truncate.c | 7 ++
> 8 files changed, 236 insertions(+), 83 deletions(-)
>
> --
> 2.28.0
>
>