[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221229161031.391878-1-hch@lst.de>
Date: Thu, 29 Dec 2022 06:10:25 -1000
From: Christoph Hellwig <hch@....de>
To: Andrew Morton <akpm@...ux-foundation.org>,
"Theodore Ts'o" <tytso@....edu>, Jan Kara <jack@...e.com>,
Konstantin Komarov <almaz.alexandrovich@...agon-software.com>,
Mark Fasheh <mark@...heh.com>,
Joel Becker <jlbec@...lplan.org>,
Joseph Qi <joseph.qi@...ux.alibaba.com>,
"Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org,
ntfs3@...ts.linux.dev, ocfs2-devel@....oracle.com,
linux-mm@...ck.org
Subject: remove generic_writepages
Hi all,
this series removes generic_writepages by open coding the current
functionality in the three remaining callers. Besides removing some
code the main benefit is that one of the few remaining ->writepage
callers from outside the core page cache code go away.
Note that testing has been a bit limited - ntfs3 does not seem to
be supported by xfstests at all, and xfstests on ocfs2 is a complete
shit show even for the base line.
Diffstat:
fs/jbd2/commit.c | 25 ---------------------
fs/jbd2/journal.c | 1
fs/mpage.c | 8 ------
fs/ntfs3/inode.c | 33 +++++++++++++---------------
fs/ocfs2/journal.c | 16 +++++++++++++
include/linux/jbd2.h | 2 -
include/linux/writeback.h | 2 -
mm/page-writeback.c | 53 +++++++++++++---------------------------------
8 files changed, 45 insertions(+), 95 deletions(-)
Powered by blists - more mailing lists