[GIT PULL] gfs2 debugfs improvements
From: Andreas Gruenbacher
Date: Sun Oct 09 2022 - 17:59:47 EST
Dear Linus,
please consider pulling the following gfs2 changes on top of the pull request
I've sent earlier today.
Commit "gfs2: Add glockfd debugfs file" modifies fs/file.c to export
task_lookup_next_fd_rcu(), and kernel/pid.c to export find_ge_pid(). We use
those two functions to iterate through all processes and their file
descriptors. I haven't received any pushback to exporting those two functions,
but no affirmation, either.
The merge commit included in this pull request resolves a conflict in
gfs2_inode_lookup(); not sure if you'd rather like to squash this merge and
resolve the conflict directly; in any case, the merge commit shows the desired
end result.
Thank you very much,
Andreas
The following changes since commit 74b1b10e29b1f25e1a081fa82733baea65429d53:
gfs2: Register fs after creating workqueues (2022-09-20 17:53:54 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-nopid-for-v6.1
for you to fetch changes up to c7d7d2d345697eb3781198e58a22504feb74af63:
gfs2: Merge branch 'for-next.nopid' into for-next (2022-10-09 22:56:28 +0200)
----------------------------------------------------------------
gfs2 debugfs improvements
- Improve the way how the state of glocks is reported in debugfs
for glocks which are not held by processes, but rather by other
resouces like cached inodes or flocks.
----------------------------------------------------------------
Andreas Gruenbacher (6):
gfs2: Add glockfd debugfs file
gfs2: Add flocks to glockfd debugfs file
gfs2: Add GL_NOPID flag for process-independent glock holders
gfs2: Mark flock glock holders as GL_NOPID
gfs2: Mark the remaining process-independent glock holders as GL_NOPID
gfs2: Merge branch 'for-next.nopid' into for-next
fs/file.c | 1 +
fs/gfs2/file.c | 29 ++++++-
fs/gfs2/glock.c | 213 ++++++++++++++++++++++++++++++++++++++++++++++++---
fs/gfs2/glock.h | 1 +
fs/gfs2/inode.c | 5 +-
fs/gfs2/ops_fstype.c | 14 ++--
fs/gfs2/super.c | 3 +-
fs/gfs2/util.c | 6 +-
kernel/pid.c | 1 +
9 files changed, 248 insertions(+), 25 deletions(-)