Skip to contentSkip to conversation

gfs2 fixes

GIT PULL Merged Andreas Gruenbacher 2 participants 2 messages Oct 9, 2022 – Oct 11, 2022

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please consider pulling the following gfs2 fixes.

We have a second small set of changes queued up on top of these fixes [*]; second pull request to follow.

[*] https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/log/?h=for-next.nopid

Thank you very much,
Andreas

The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:

Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.0-rc2-fixes

for you to fetch changes up to 74b1b10e29b1f25e1a081fa82733baea65429d53:

gfs2: Register fs after creating workqueues (2022-09-20 17:53:54 +0200)

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

- Make sure to initialize the filesystem work queues before registering the filesystem; this prevents them from being used uninitialized.

- On filesystem withdraw: prevent a a double iput() and immediately reject pending locking requests that can no longer succeed.

- Use TRY lock in gfs2_inode_lookup() to prevent a rare glock hang during evict.

- During filesystem mount, explicitly make sure that the sb_bsize and sb_bsize_shift super block fields are consistent with each other. This prevents messy error messages during fuzz testing.

- Switch from strlcpy to strscpy.

----------------------------------------------------------------
Andreas Gruenbacher (1):
gfs2: Switch from strlcpy to strscpy

Andrew Price (1):
gfs2: Check sb_bsize_shift after reading superblock

Bob Peterson (5):
gfs2: Use TRY lock in gfs2_inode_lookup for UNLINKED inodes
gfs2: Prevent double iput for journal on error
gfs2: Dequeue waiters when withdrawn
gfs2: Clear flags when withdraw prevents xmote
gfs2: Register fs after creating workqueues

 fs/gfs2/glock.c      | 44 +++++++++++++++++++++++++++++++++++++++-----
 fs/gfs2/glock.h      |  1 +
 fs/gfs2/inode.c      | 10 ++++++++--
 fs/gfs2/main.c       | 24 ++++++++++++------------
 fs/gfs2/ops_fstype.c | 17 +++++++++++------
 fs/gfs2/util.c       |  6 ++++++
 6 files changed, 77 insertions(+), 25 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 9 Oct 2022 12:45:39 +0200:

The pull request you sent on Sun, 9 Oct 2022 12:45:39 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.0-rc2-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c7d7d2d345697eb3781198e58a22504feb74af63

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html