From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06CF834D4E9; Fri, 6 Mar 2026 11:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772797416; cv=none; b=SjUqUsGfK8T5m3qn5kMyRYyCn2esk7ntEn+iwQjKtgax9d4dpVxh3wR7KN3xBQLNA3ivNld6H7jvnZpNmKGzszVVi4eyJFCLInQCpu/ODOanD1tN2/cCvBKZ2GFiqXOSGWGAZ+kIoXwmfVosUfaEinebbxErZ9oACjrsa3LT9j4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772797416; c=relaxed/simple; bh=GowoyTsR4CI3ewxQ0f2lHFy7dHsKMkcXOPtOrZuLkR8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n0J0gfkKMZNMmJoCf5UxYLykpfaRjVj5DVIGMv2hWZzxCrSYXrA+MNPcY50u6av9/NkXisiyePIamCPBNzoN+Ok5G9XMC2Qi2T68T2W4ABD9l6hBvyfzBYWgUtYPjNE/2Us1Afkp6CfXSnyQKfNlnSccbQ6csiBfOx/4MvfIYsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AoTL4X7f; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AoTL4X7f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB45CC4CEF7; Fri, 6 Mar 2026 11:43:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772797415; bh=GowoyTsR4CI3ewxQ0f2lHFy7dHsKMkcXOPtOrZuLkR8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AoTL4X7fkCCo0RpTHoieQY0AotRrEjVyuQ02wvcgh1owSajcJbmcQEtWizAtCSsK/ X+mc0JnVWTe165uGDV9E7WpAYYzGMULmVtno4EZukM7QoACh09oHoPUhdwygslZKvl UA8JGFtIK2G8zIIAmjqKqpT+tyil+49Wti7f3MPsrXYEUnfS45na2IEnXoSRELDO6M ZL6z80bBwk4W9VVHCHJBf7g9N26hSrTQ1VOPLG5slPyq9X33Zeti35mCcJQiMAS9Er ddlmGUcS+LRPdDZ43n2TXxhXjJ5UL+qfVn18k94Sk3SHS399+2vt6KziT54vb18xV4 c6KUFHbeprQ4w== Date: Fri, 6 Mar 2026 11:43:32 +0000 From: "Lorenzo Stoakes (Oracle)" To: Tal Zussman Cc: David Howells , Marc Dionne , Jaegeuk Kim , Chao Yu , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Matthew Wilcox , Dan Williams , Jan Kara , Alexander Viro , Christian Brauner , Theodore Ts'o , Andreas Dilger , Paulo Alcantara , Trond Myklebust , Anna Schumaker , Mark Fasheh , Joel Becker , Joseph Qi , Steve French , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Bharath SM , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Chris Mason , David Sterba , Ilya Dryomov , Alex Markuze , Viacheslav Dubeyko , Andreas Gruenbacher , Muchun Song , Oscar Salvador , Ryusuke Konishi , "Darrick J. Wong" , Chuck Lever , Jeff Layton , NeilBrown , Olga Kornievskaia , Dai Ngo , Jason Gunthorpe , John Hubbard , Peter Xu , Johannes Weiner , Roman Gushchin , Shakeel Butt , Jann Horn , Pedro Falcato , Brendan Jackman , Zi Yan , Hugh Dickins , Baolin Wang , Axel Rasmussen , Yuanchu Xie , Wei Xu , Qi Zheng , linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-ext4@vger.kernel.org, netfs@lists.linux.dev, linux-nfs@vger.kernel.org, ocfs2-devel@lists.linux.dev, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, gfs2@lists.linux.dev, linux-nilfs@vger.kernel.org, linux-xfs@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v2 2/4] fs: Remove unncessary pagevec.h includes Message-ID: References: <20260225-pagevec_cleanup-v2-0-716868cc2d11@columbia.edu> <20260225-pagevec_cleanup-v2-2-716868cc2d11@columbia.edu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260225-pagevec_cleanup-v2-2-716868cc2d11@columbia.edu> On Wed, Feb 25, 2026 at 06:44:26PM -0500, Tal Zussman wrote: > Remove unused pagevec.h includes from .c files. These were found with > the following command: > > grep -rl '#include.*pagevec\.h' --include='*.c' | while read f; do > grep -qE 'PAGEVEC_SIZE|folio_batch' "$f" || echo "$f" > done > > There are probably more removal candidates in .h files, but those are > more complex to analyze. > > Signed-off-by: Tal Zussman Nice, LGTM so: Reviewed-by: Lorenzo Stoakes (Oracle) > --- > fs/afs/write.c | 1 - > fs/dax.c | 1 - > fs/ext4/file.c | 1 - > fs/ext4/page-io.c | 1 - > fs/ext4/readpage.c | 1 - > fs/f2fs/file.c | 1 - > fs/mpage.c | 1 - > fs/netfs/buffered_write.c | 1 - > fs/nfs/blocklayout/blocklayout.c | 1 - > fs/nfs/dir.c | 1 - > fs/ocfs2/refcounttree.c | 1 - > fs/smb/client/connect.c | 1 - > fs/smb/client/file.c | 1 - > 13 files changed, 13 deletions(-) > > diff --git a/fs/afs/write.c b/fs/afs/write.c > index 93ad86ff3345..fcfed9d24e0a 100644 > --- a/fs/afs/write.c > +++ b/fs/afs/write.c > @@ -10,7 +10,6 @@ > #include > #include > #include > -#include > #include > #include > #include "internal.h" > diff --git a/fs/dax.c b/fs/dax.c > index b78cff9c91b3..a5237169b467 100644 > --- a/fs/dax.c > +++ b/fs/dax.c > @@ -15,7 +15,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/ext4/file.c b/fs/ext4/file.c > index f1dc5ce791a7..5e02f6cf653e 100644 > --- a/fs/ext4/file.c > +++ b/fs/ext4/file.c > @@ -27,7 +27,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c > index a8c95eee91b7..98da200d11c8 100644 > --- a/fs/ext4/page-io.c > +++ b/fs/ext4/page-io.c > @@ -16,7 +16,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/ext4/readpage.c b/fs/ext4/readpage.c > index 830f3b8a321f..3c7aabde719c 100644 > --- a/fs/ext4/readpage.c > +++ b/fs/ext4/readpage.c > @@ -43,7 +43,6 @@ > #include > #include > #include > -#include > > #include "ext4.h" > #include > diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c > index c8a2f17a8f11..c6b6a1465d08 100644 > --- a/fs/f2fs/file.c > +++ b/fs/f2fs/file.c > @@ -17,7 +17,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/mpage.c b/fs/mpage.c > index 7dae5afc2b9e..e5285fbfcf09 100644 > --- a/fs/mpage.c > +++ b/fs/mpage.c > @@ -28,7 +28,6 @@ > #include > #include > #include > -#include > #include "internal.h" > > /* > diff --git a/fs/netfs/buffered_write.c b/fs/netfs/buffered_write.c > index 22a4d61631c9..05ea5b0cc0e8 100644 > --- a/fs/netfs/buffered_write.c > +++ b/fs/netfs/buffered_write.c > @@ -10,7 +10,6 @@ > #include > #include > #include > -#include > #include "internal.h" > > static void __netfs_set_group(struct folio *folio, struct netfs_group *netfs_group) > diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c > index cb0a645aeb50..11f9f69cde61 100644 > --- a/fs/nfs/blocklayout/blocklayout.c > +++ b/fs/nfs/blocklayout/blocklayout.c > @@ -36,7 +36,6 @@ > #include > #include /* struct bio */ > #include > -#include > > #include "../pnfs.h" > #include "../nfs4session.h" > diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c > index 2402f57c8e7d..0d276441206b 100644 > --- a/fs/nfs/dir.c > +++ b/fs/nfs/dir.c > @@ -32,7 +32,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c > index c1cdececdfa4..b4acd081bbc4 100644 > --- a/fs/ocfs2/refcounttree.c > +++ b/fs/ocfs2/refcounttree.c > @@ -31,7 +31,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c > index 33dfe116ca52..9e57812b7b95 100644 > --- a/fs/smb/client/connect.c > +++ b/fs/smb/client/connect.c > @@ -20,7 +20,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/fs/smb/client/file.c b/fs/smb/client/file.c > index 18f31d4eb98d..853ce1817810 100644 > --- a/fs/smb/client/file.c > +++ b/fs/smb/client/file.c > @@ -15,7 +15,6 @@ > #include > #include > #include > -#include > #include > #include > #include > > -- > 2.39.5 >