[GIT PULL] gfs2 fixes

From: Andreas Gruenbacher
Date: Wed Feb 22 2023 - 07:02:04 EST


Hi Linus,

please consider pulling the following gfs2 fixes.

These fixes are based on the latest iomap-for-next branch, for which
Darrick has sent a pull request earlier today:

https://lore.kernel.org/linux-fsdevel/167703901677.1909640.1798642413122202835.stg-ugh@magnolia/

Thanks,
Andreas


The following changes since commit 63510d9f2f6e6337960499a3d72d5a457b19c287:

Merge branch 'iomap-for-next' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git (2023-01-24 12:51:39 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.2-rc5-fixes

for you to fetch changes up to c1b0c3cfcbad25d2c412863c27638c933f1d911b:

gfs2: Convert gfs2_page_add_databufs to folios (2023-02-22 12:06:20 +0100)

----------------------------------------------------------------
gfs2 fixes

- Fix a race when disassociating inodes from their glocks after
iget_failed().

- On filesystems with a block size smaller than the page size, make
sure that ->writepages() writes out all buffers of journaled inodes.

- Various improvements to the way the delete workqueue is drained to
speed up unmount and prevent leftover inodes. At unmount time, evict
deleted inodes cooperatively across the cluster to avoid unnecessary
timeouts.

- Various minor cleanups and fixes.

----------------------------------------------------------------
Andreas Gruenbacher (12):
gfs2: gl_object races fix
gfs2: Improve gfs2_upgrade_iopen_glock comment
gfs2: Clean up gfs2_scan_glock_lru
gfs2: Make glock lru list scanning safer
gfs2: Get rid of GLF_PENDING_DELETE flag
gfs2: Move delete workqueue into super block
gfs2: Split the two kinds of glock "delete" work
gfs2: Flush delete work before shrinking inode cache
gfs2: Evict inodes cooperatively
gfs2: Improve gfs2_make_fs_rw error handling
gfs2: jdata writepage fix
gfs2: Convert gfs2_page_add_databufs to folios

Bob Peterson (4):
gfs2: check gl_object in rgrp glops
gfs2: Add SDF_DEACTIVATING super block flag
gfs2: Cease delete work during unmount
Revert "GFS2: free disk inode which is deleted by remote node -V2"

fs/gfs2/aops.c | 9 ++--
fs/gfs2/aops.h | 4 +-
fs/gfs2/bmap.c | 4 +-
fs/gfs2/dentry.c | 18 --------
fs/gfs2/glock.c | 128 +++++++++++++++++++++++++--------------------------
fs/gfs2/glock.h | 4 +-
fs/gfs2/glops.c | 21 ++++-----
fs/gfs2/incore.h | 11 ++++-
fs/gfs2/inode.c | 8 ++++
fs/gfs2/ops_fstype.c | 71 +++++++++++++++++++++++++++-
fs/gfs2/rgrp.c | 2 +-
fs/gfs2/super.c | 49 ++++++++++++++------
fs/gfs2/sys.c | 2 +
13 files changed, 204 insertions(+), 127 deletions(-)