Re: [PATCH v2 0/7] btrfs: convert some struct page users to folios
From: David Sterba
Date: Wed Sep 09 2026 - 12:06:02 EST
On Wed, Sep 09, 2026 at 03:40:47PM +0930, Qu Wenruo wrote:
>
>
> 在 2026/9/8 05:49, Tal Zussman 写道:
> > This series converts three areas of btrfs that still use struct page:
> >
> > 1. The extent-io tests. test_find_delalloc() uses the page APIs, and the
> > extent buffer memory checks assume one page per folio.
> >
> > 2. Compression. btrfs_compr_pool_scan() walks the folio pool as struct
> > page, the last use of page->lru in btrfs, and the heuristic sampler
> > is the last caller of find_get_page().
> >
> > 3. Super block reads. btrfs_read_disk_super() and the zoned super block
> > log comparison are the last page cache lookups by page in btrfs.
> >
> > Tested with KASAN, lockdep, DEBUG_VM and the btrfs selftests enabled.
> > xfstests' compress group under compress=zstd and the btrfs group both
> > pass.
>
> Now pushed to for-next branch.
Tal, please send the cast removal I asked for in patch 5 separately. Thanks.