From: Christoph Hellwig Date: Fri, 19 May 2023 11:35:08 +0200 Subject: [Cluster-devel] cleanup the filemap / direct I/O interaction Message-ID: <20230519093521.133226-1-hch@lst.de> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, this series cleans up some of the generic write helper calling conventions and the page cache writeback / invalidation for direct I/O. This is a spinoff from the no-bufferhead kernel project, for while we'll want to an use iomap based buffered write path in the block layer. diffstat: block/fops.c | 18 ---- fs/ceph/file.c | 6 - fs/direct-io.c | 10 -- fs/ext4/file.c | 12 --- fs/f2fs/file.c | 3 fs/fuse/file.c | 47 ++---------- fs/gfs2/file.c | 7 - fs/iomap/buffered-io.c | 12 ++- fs/iomap/direct-io.c | 88 ++++++++-------------- fs/libfs.c | 36 +++++++++ fs/nfs/file.c | 6 - fs/xfs/xfs_file.c | 7 - fs/zonefs/file.c | 4 - include/linux/fs.h | 7 - include/linux/pagemap.h | 4 + mm/filemap.c | 184 +++++++++++++++++++++--------------------------- 16 files changed, 190 insertions(+), 261 deletions(-)