[GIT PULL for v6.11] vfs pg_error
From: Christian Brauner
Date: Fri Jul 12 2024 - 09:55:24 EST
Hey Linus,
/* Summary */
This contains work to remove almost all remaining users of PG_error from
filesystems and filesystem helper libraries. An additional patch will be coming
in via the jfs tree which tests the PG_error bit. Afterwards nothing will be
testing it anymore and it's safe to remove all places which set or clear the
PG_error bit. The goal is to fully remove PG_error by the next merge window.
/* Testing */
clang: Debian clang version 16.0.6 (26)
gcc: (Debian 13.2.0-24)
All patches are based on v6.10-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
Merge conflicts with mainline
=============================
There's one merge conflict in fs/nsfs/symlink.c
After conflict resolution the function should look like this:
static int nfs_symlink_filler(struct file *file, struct folio *folio)
{
struct inode *inode = folio->mapping->host;
int error;
error = NFS_PROTO(inode)->readlink(inode, &folio->page, 0, PAGE_SIZE);
folio_end_read(folio, error == 0);
return error;
}
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:
Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)
are available in the Git repository at:
git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.11.pg_error
for you to fetch changes up to 7ad635ea82704a64c40aba67a7d04293d4780f0f:
buffer: Remove calls to set and clear the folio error flag (2024-05-31 12:31:43 +0200)
Please consider pulling these changes from the signed vfs-6.11.pg_error tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.11.pg_error
----------------------------------------------------------------
Matthew Wilcox (Oracle) (16):
befs: Convert befs_symlink_read_folio() to use folio_end_read()
coda: Convert coda_symlink_filler() to use folio_end_read()
cramfs: Convert cramfs_read_folio to use a folio
efs: Convert efs_symlink_read_folio to use a folio
hpfs: Convert hpfs_symlink_read_folio to use a folio
isofs: Convert rock_ridge_symlink_read_folio to use a folio
hostfs: Convert hostfs_read_folio() to use a folio
jffs2: Remove calls to set/clear the folio error flag
nfs: Remove calls to folio_set_error
orangefs: Remove calls to set/clear the error flag
reiserfs: Remove call to folio_set_error()
romfs: Convert romfs_read_folio() to use a folio
ufs: Remove call to set the folio error flag
vboxsf: Convert vboxsf_read_folio() to use a folio
iomap: Remove calls to set and clear folio error flag
buffer: Remove calls to set and clear the folio error flag
fs/befs/linuxvfs.c | 10 ++++------
fs/buffer.c | 7 +------
fs/coda/symlink.c | 10 +---------
fs/cramfs/inode.c | 25 ++++++++++---------------
fs/efs/symlink.c | 14 +++++---------
fs/hostfs/hostfs_kern.c | 23 ++++++-----------------
fs/hpfs/namei.c | 15 +++------------
fs/iomap/buffered-io.c | 8 --------
fs/isofs/rock.c | 17 ++++++++---------
fs/jffs2/file.c | 14 +++-----------
fs/mpage.c | 13 +++----------
fs/nfs/read.c | 2 --
fs/nfs/symlink.c | 12 ++----------
fs/nfs/write.c | 1 -
fs/orangefs/inode.c | 13 +++----------
fs/orangefs/orangefs-bufmap.c | 4 +---
fs/reiserfs/inode.c | 1 -
fs/romfs/super.c | 22 ++++++----------------
fs/ufs/dir.c | 1 -
fs/vboxsf/file.c | 18 +++++-------------
20 files changed, 61 insertions(+), 169 deletions(-)