[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16140962-0a11-4674-8799-a83a13e2aaad@redhat.com>
Date: Wed, 30 Apr 2025 23:08:44 +0200
From: David Hildenbrand <david@...hat.com>
To: Kairui Song <kasong@...cent.com>, linux-mm@...ck.org
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <willy@...radead.org>, Hugh Dickins <hughd@...gle.com>,
Chris Li <chrisl@...nel.org>, 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,
Jaegeuk Kim <jaegeuk@...nel.org>, Chao Yu <chao@...nel.org>,
linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [PATCH v3 3/6] f2fs: drop usage of folio_index
On 30.04.25 20:10, 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 f2fs does not use that method for swap.
>
> Signed-off-by: Kairui Song <kasong@...cent.com>
> Cc: Jaegeuk Kim <jaegeuk@...nel.org> (maintainer:F2FS FILE SYSTEM)
> Cc: Chao Yu <chao@...nel.org> (maintainer:F2FS FILE SYSTEM)
> Cc: linux-f2fs-devel@...ts.sourceforge.net (open list:F2FS FILE SYSTEM)
> Reviewed-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> ---
Reviewed-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists