[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45f54805-b357-4391-8a43-5825e8dcbd56@kernel.org>
Date: Tue, 6 May 2025 16:49:45 +0800
From: Chao Yu <chao@...nel.org>
To: Kairui Song <kasong@...cent.com>, linux-mm@...ck.org
Cc: chao@...nel.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,
Jaegeuk Kim <jaegeuk@...nel.org>, linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [PATCH v3 3/6] f2fs: drop usage of folio_index
On 2025/5/1 2: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: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists