[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250501085013.GL9140@suse.cz>
Date: Thu, 1 May 2025 10:50:13 +0200
From: David Sterba <dsterba@...e.cz>
To: Kairui Song <kasong@...cent.com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <willy@...radead.org>,
Hugh Dickins <hughd@...gle.com>, Chris Li <chrisl@...nel.org>,
David Hildenbrand <david@...hat.com>,
Yosry Ahmed <yosryahmed@...gle.com>,
"Huang, Ying" <ying.huang@...ux.alibaba.com>,
Nhat Pham <nphamcs@...il.com>, Johannes Weiner <hannes@...xchg.org>,
linux-kernel@...r.kernel.org, Chris Mason <clm@...com>,
Josef Bacik <josef@...icpanda.com>, David Sterba <dsterba@...e.com>,
linux-btrfs@...r.kernel.org, Qu Wenruo <wqu@...e.com>
Subject: Re: [PATCH v3 2/6] btrfs: drop usage of folio_index
On Thu, May 01, 2025 at 02:10:48AM +0800, Kairui Song wrote:
> From: Kairui Song <kasong@...cent.com>
>
> folio_index is only needed for mixed usage of page cache and swap
> cache, for pure page cache usage, the caller can just use
> folio->index instead.
>
> It can't be a swap cache folio here. Swap mapping may only call into fs
> through `swap_rw` but btrfs does not use that method for swap.
>
> Signed-off-by: Kairui Song <kasong@...cent.com>
> Cc: Chris Mason <clm@...com> (maintainer:BTRFS FILE SYSTEM)
> Cc: Josef Bacik <josef@...icpanda.com> (maintainer:BTRFS FILE SYSTEM)
> Cc: David Sterba <dsterba@...e.com> (maintainer:BTRFS FILE SYSTEM)
> Cc: linux-btrfs@...r.kernel.org (open list:BTRFS FILE SYSTEM)
> Reviewed-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> Reviewed-by: Qu Wenruo <wqu@...e.com>
The patch is from a series but seems to be independent. I'd like to take
it through the btrfs tree unless you have other work that depends on it.
Powered by blists - more mailing lists