gfs2.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] gfs2 changes
@ 2024-07-15 17:47 Andreas Gruenbacher
  2024-07-17 19:25 ` Linus Torvalds
  2024-07-17 20:18 ` pr-tracker-bot
  0 siblings, 2 replies; 14+ messages in thread
From: Andreas Gruenbacher @ 2024-07-15 17:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andreas Gruenbacher, gfs2, linux-kernel

Dear Linus,

please consider pulling the following gfs2 fixes and cleanups:

* The first 15 of these patches rework the glock refcounting and LRU list
  handling to be more sensible.

* The following 13 patches clean up the quota code, add some missing locking,
  and work around the on-disk corruption that the reverted patch "gfs2: ignore
  negated quota changes" causes.

* The final patch cleans up the glock demote logic in glock_work_func().

Thanks,
Andreas


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://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.10-rc1-fixes

for you to fetch changes up to f75efefb6db305b5b5c56a9b9ae2d72b54f20780:

  gfs2: Clean up glock demote logic (2024-07-09 10:40:03 +0200)

----------------------------------------------------------------
gfs2 fixes and cleanups

- Revise the glock reference counting model

- Several quota related fixes

- Clean up the glock demote logic

----------------------------------------------------------------
Andreas Gruenbacher (29):
      gfs2: Remove unnecessary function prototype
      gfs2: Remove useless return statement in run_queue
      gfs2: Rename GLF_FREEING to GLF_UNLOCKED
      gfs2: Rename GLF_REPLY_PENDING to GLF_HAVE_REPLY
      gfs2: Rename GLF_FROZEN to GLF_HAVE_FROZEN_REPLY
      gfs2: Rename handle_callback to request_demote
      gfs2: Update glocks documentation
      gfs2: Remove outdated comment in glock_work_func
      gfs2: Invert the GLF_INITIAL flag
      gfs2: gfs2_glock_get cleanup
      gfs2: Report when glocks cannot be freed for a long time
      gfs2: Switch to a per-filesystem glock workqueue
      gfs2: Revise glock reference counting model
      Revert "GFS2: Don't add all glocks to the lru"
      gfs2: Get rid of demote_ok checks
      gfs2: Minor gfs2_quota_init error path cleanup
      gfs2: Check quota consistency on mount
      gfs2: Revert "introduce qd_bh_get_or_undo"
      gfs2: qd_check_sync cleanups
      gfs2: Revert "ignore negated quota changes"
      gfs2: Revert "Add quota_change type"
      gfs2: Fix and clean up function do_qc
      gfs2: quota need_sync cleanup
      gfs2: Fold qd_fish into gfs2_quota_sync
      gfs2: Add some missing quota locking
      gfs2: Get rid of some unnecessary quota locking
      gfs2: Be more careful with the quota sync generation
      gfs2: Revert "check for no eligible quota changes"
      gfs2: Clean up glock demote logic

 Documentation/filesystems/gfs2-glocks.rst |  55 ++---
 fs/gfs2/glock.c                           | 227 ++++++++---------
 fs/gfs2/glock.h                           |   1 -
 fs/gfs2/glops.c                           |  42 +---
 fs/gfs2/incore.h                          |  12 +-
 fs/gfs2/lock_dlm.c                        |  28 ++-
 fs/gfs2/ops_fstype.c                      |  13 +-
 fs/gfs2/quota.c                           | 388 +++++++++++++++---------------
 fs/gfs2/super.c                           |   1 -
 fs/gfs2/trace_gfs2.h                      |   6 +-
 fs/gfs2/util.c                            |  12 +-
 11 files changed, 380 insertions(+), 405 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [GIT PULL] gfs2 changes
@ 2024-09-23 18:04 Andreas Gruenbacher
  2024-09-23 19:06 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Gruenbacher @ 2024-09-23 18:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andreas Gruenbacher, gfs2, linux-kernel

Dear Linus,

please consider pulling the following gfs2 changes.

Thank you very much,
Andreas


The following changes since commit 6706415bf9f3dcb425f4b60a08a3a6f1d94ec0e0:

  Merge tag 'gfs2-v6.10-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (2024-07-17 12:23:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 6888c1e85f5db129e6ddcff879bb127bbfdb5c64:

  gfs2: Remove gfs2_aspace_writepage() (2024-09-02 14:46:37 +0200)

----------------------------------------------------------------
gfs2 changes

- Eliminate the writepage address space operation (by Matthew Wilcox).

- A syzkaller fix (by Julian Sun) and a minor cleanup (by Andreas
  Gruenbacher).

----------------------------------------------------------------
Andreas Gruenbacher (1):
      gfs2: Minor gfs2_glock_cb cleanup

Julian Sun (1):
      gfs2: fix double destroy_workqueue error

Matthew Wilcox (Oracle) (4):
      gfs2: Add gfs2_aspace_writepages()
      gfs2: Remove __gfs2_writepage()
      gfs2: Remove gfs2_jdata_writepage()
      gfs2: Remove gfs2_aspace_writepage()

 fs/gfs2/aops.c       | 30 ------------------------------
 fs/gfs2/glock.c      |  9 ++++++---
 fs/gfs2/log.c        | 12 ++----------
 fs/gfs2/meta_io.c    | 24 +++++++++++++++++-------
 fs/gfs2/ops_fstype.c |  3 ++-
 5 files changed, 27 insertions(+), 51 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [GIT PULL] gfs2 changes
@ 2024-09-22 14:00 Andreas Gruenbacher
  2024-09-23 17:49 ` Linus Torvalds
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Gruenbacher @ 2024-09-22 14:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andreas Gruenbacher, gfs2, linux-kernel

Dear Linus,

please consider pulling the following gfs2 fixes and cleanups:

* The first 15 of these patches rework the glock refcounting and LRU list
  handling to be more sensible.

* The following 13 patches clean up the quota code, add some missing locking,
  and work around the on-disk corruption that the reverted patch "gfs2: ignore
  negated quota changes" causes.

* The final patch cleans up the glock demote logic in glock_work_func().

Thanks,
Andreas


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://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.10-rc1-fixes

for you to fetch changes up to f75efefb6db305b5b5c56a9b9ae2d72b54f20780:

  gfs2: Clean up glock demote logic (2024-07-09 10:40:03 +0200)

----------------------------------------------------------------
gfs2 fixes and cleanups

- Revise the glock reference counting model

- Several quota related fixes

- Clean up the glock demote logic

----------------------------------------------------------------
Andreas Gruenbacher (29):
      gfs2: Remove unnecessary function prototype
      gfs2: Remove useless return statement in run_queue
      gfs2: Rename GLF_FREEING to GLF_UNLOCKED
      gfs2: Rename GLF_REPLY_PENDING to GLF_HAVE_REPLY
      gfs2: Rename GLF_FROZEN to GLF_HAVE_FROZEN_REPLY
      gfs2: Rename handle_callback to request_demote
      gfs2: Update glocks documentation
      gfs2: Remove outdated comment in glock_work_func
      gfs2: Invert the GLF_INITIAL flag
      gfs2: gfs2_glock_get cleanup
      gfs2: Report when glocks cannot be freed for a long time
      gfs2: Switch to a per-filesystem glock workqueue
      gfs2: Revise glock reference counting model
      Revert "GFS2: Don't add all glocks to the lru"
      gfs2: Get rid of demote_ok checks
      gfs2: Minor gfs2_quota_init error path cleanup
      gfs2: Check quota consistency on mount
      gfs2: Revert "introduce qd_bh_get_or_undo"
      gfs2: qd_check_sync cleanups
      gfs2: Revert "ignore negated quota changes"
      gfs2: Revert "Add quota_change type"
      gfs2: Fix and clean up function do_qc
      gfs2: quota need_sync cleanup
      gfs2: Fold qd_fish into gfs2_quota_sync
      gfs2: Add some missing quota locking
      gfs2: Get rid of some unnecessary quota locking
      gfs2: Be more careful with the quota sync generation
      gfs2: Revert "check for no eligible quota changes"
      gfs2: Clean up glock demote logic

 Documentation/filesystems/gfs2-glocks.rst |  55 ++---
 fs/gfs2/glock.c                           | 227 ++++++++---------
 fs/gfs2/glock.h                           |   1 -
 fs/gfs2/glops.c                           |  42 +---
 fs/gfs2/incore.h                          |  12 +-
 fs/gfs2/lock_dlm.c                        |  28 ++-
 fs/gfs2/ops_fstype.c                      |  13 +-
 fs/gfs2/quota.c                           | 388 +++++++++++++++---------------
 fs/gfs2/super.c                           |   1 -
 fs/gfs2/trace_gfs2.h                      |   6 +-
 fs/gfs2/util.c                            |  12 +-
 11 files changed, 380 insertions(+), 405 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [GIT PULL] gfs2 changes
@ 2024-05-13 21:03 Andreas Gruenbacher
  2024-05-15  0:53 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Gruenbacher @ 2024-05-13 21:03 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andreas Gruenbacher, gfs2, linux-kernel

Hello Linus,

please consider pulling the following gfs2 changes.

Thank you very much,
Andreas

The following changes since commit c95346ac918c5badf51b9a7ac58a26d3bd5bb224:

  gfs2: Fix invalid metadata access in punch_hole (2024-03-11 17:11:18 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-for-v6.10

for you to fetch changes up to c1c53c26e3380a79b65e6b53dac6c3c797a7e8f1:

  gfs2: make timeout values more explicit (2024-05-07 12:42:48 +0200)

----------------------------------------------------------------
gfs2 updates

- Properly fix the glock shrinker this time: it broke in commit "gfs2:
  Make glock lru list scanning safer" and commit "gfs2: fix glock
  shrinker ref issues" wasn't actually enough to fix it.

- On unmount, keep glocks around long enough that no more dlm callbacks
  can occur on them.

- Some more folio conversion patches from Matthew Wilcox.

- Lots of other smaller fixes and cleanups.

----------------------------------------------------------------
Andreas Gruenbacher (21):
      gfs2: Get rid of newlines in log messages
      gfs2: Remove unnecessary gfs2_meta_check_ii argument
      gfs2: Follow-up to flag rename in sysfs status file
      gfs2: Use [NO_]CREATE consistently for gfs2_glock_get
      gfs2: Don't forget to complete delayed withdraw
      gfs2: Fix NULL pointer dereference in gfs2_log_flush
      gfs2: Get rid of gfs2_glock_queue_put in signal_our_withdraw
      gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async
      gfs2: Don't set GLF_LOCK in gfs2_dispose_glock_lru
      gfs2: Get rid of unnecessary test_and_set_bit
      gfs2: Fix "ignore unlock failures after withdraw"
      Revert "gfs2: fix glock shrinker ref issues"
      gfs2: Fix "Make glock lru list scanning safer"
      gfs2: Fix lru_count accounting
      gfs2: Remove ill-placed consistency check
      gfs2: Fix potential glock use-after-free on unmount
      gfs2: Unlock fewer glocks on unmount
      gfs2: finish_xmote cleanup
      gfs2: do_xmote fixes
      gfs2: Remove and replace gfs2_glock_queue_work
      gfs2: gfs2_freeze_unlock cleanup

Andrew Price (1):
      gfs2: Improve gfs2_consist_inode() usage

Matthew Wilcox (Oracle) (4):
      gfs2: Convert gfs2_page_mkwrite() to use a folio
      gfs2: Simplify gfs2_read_super
      gfs2: Add a migrate_folio operation for journalled files
      gfs2: Convert gfs2_aspace_writepage() to use a folio

Wolfram Sang (1):
      gfs2: make timeout values more explicit

 fs/gfs2/aops.c       |   4 +-
 fs/gfs2/bmap.c       |   2 +-
 fs/gfs2/dir.c        |  31 +++++----
 fs/gfs2/file.c       |  59 ++++++++--------
 fs/gfs2/glock.c      | 192 +++++++++++++++++++++++++++++++--------------------
 fs/gfs2/glock.h      |   3 +-
 fs/gfs2/glops.c      |  37 ++++++----
 fs/gfs2/incore.h     |   1 +
 fs/gfs2/lock_dlm.c   |  40 ++++++++---
 fs/gfs2/log.c        |   5 +-
 fs/gfs2/meta_io.c    |  16 ++---
 fs/gfs2/ops_fstype.c |  49 ++++---------
 fs/gfs2/rgrp.c       |  10 +--
 fs/gfs2/super.c      |  28 ++++----
 fs/gfs2/sys.c        |   4 +-
 fs/gfs2/util.c       |  63 ++++++++---------
 fs/gfs2/util.h       |   6 +-
 fs/gfs2/xattr.c      |  28 ++++----
 18 files changed, 320 insertions(+), 258 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [GIT PULL] gfs2 changes
@ 2024-01-08 12:05 Andreas Gruenbacher
  2024-01-10 20:38 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Gruenbacher @ 2024-01-08 12:05 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andreas Gruenbacher, gfs2, linux-kernel

Hello Linus,

please consider pulling the following gfs2 changes.

In addition to the usual fixes and cleanups, this adds gfs2 support for
non-blocking lookups (MAY_NOT_BLOCK / LOOKUP_RCU).  That's a worthwhile
improvement by itself and gets us one step closer to making RESOLVE_CACHED
work (*).

https://lore.kernel.org/linux-fsdevel/20231109190844.2044940-1-agruenba@redhat.com/

Thanks,
Andreas

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.7-rc1-fixes

for you to fetch changes up to e345b87b0b0444d1c644b0ea15cfb50e88f10b55:

  gfs2: Fix freeze consistency check in log_write_header (2023-12-27 13:16:48 +0100)

----------------------------------------------------------------
gfs2 updates

- Add support for non-blocking lookup (MAY_NOT_BLOCK / LOOKUP_RCU)

- Various minor fixes and cleanups

----------------------------------------------------------------
Abhi Das (1):
      gfs2: Use GL_NOBLOCK flag for non-blocking lookups

Al Viro (2):
      gfs2: d_obtain_alias(ERR_PTR(...)) will do the right thing
      gfs2: use is_subdir()

Andreas Gruenbacher (9):
      gfs2: Fix inode_go_instantiate description
      gfs2: Add GL_NOBLOCK flag
      gfs2: Minor gfs2_ail1_empty cleanup
      gfs2: Mark withdraws as unlikely
      gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn
      gfs2: Lift withdraw check out of gfs2_ail1_empty
      gfs2: Minor gfs2_{freeze,thaw}_super cleanup
      gfs2: Refcounting fix in gfs2_thaw_super
      gfs2: Fix freeze consistency check in log_write_header

Edward Adam Davis (1):
      gfs2: fix kernel BUG in gfs2_quota_cleanup

Kevin Hao (2):
      gfs2: Add missing set_freezable() for freezable kthread
      gfs2: Use wait_event_freezable_timeout() for freezable kthread

Matthew Wilcox (Oracle) (1):
      gfs2: Remove use of error flag in journal reads

Osama Muhammad (1):
      gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump

Randy Dunlap (1):
      gfs2: rgrp: fix kernel-doc warnings

 fs/gfs2/aops.c       |  2 +-
 fs/gfs2/dentry.c     | 23 ++++++++------
 fs/gfs2/export.c     |  2 --
 fs/gfs2/file.c       |  2 +-
 fs/gfs2/glock.c      | 47 +++++++++++++++++++++++++---
 fs/gfs2/glock.h      |  1 +
 fs/gfs2/glops.c      |  4 +--
 fs/gfs2/inode.c      |  8 ++---
 fs/gfs2/lock_dlm.c   |  8 ++---
 fs/gfs2/log.c        | 63 +++++++++++++++++++++----------------
 fs/gfs2/lops.c       | 21 +++++--------
 fs/gfs2/meta_io.c    |  9 ++++--
 fs/gfs2/ops_fstype.c |  2 +-
 fs/gfs2/quota.c      | 16 +++++-----
 fs/gfs2/recovery.c   |  2 +-
 fs/gfs2/rgrp.c       | 12 +++----
 fs/gfs2/super.c      | 88 +++++++++++++++++++++-------------------------------
 fs/gfs2/sys.c        |  2 +-
 fs/gfs2/trans.c      |  2 +-
 fs/gfs2/util.c       |  4 +--
 fs/gfs2/util.h       | 15 ++++-----
 21 files changed, 182 insertions(+), 151 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-09-23 19:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 17:47 [GIT PULL] gfs2 changes Andreas Gruenbacher
2024-07-17 19:25 ` Linus Torvalds
2024-07-17 20:10   ` Andreas Gruenbacher
2024-07-17 20:18 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2024-09-23 18:04 Andreas Gruenbacher
2024-09-23 19:06 ` pr-tracker-bot
2024-09-22 14:00 Andreas Gruenbacher
2024-09-23 17:49 ` Linus Torvalds
2024-09-23 18:10   ` Andreas Gruenbacher
2024-09-23 18:43     ` Linus Torvalds
2024-05-13 21:03 Andreas Gruenbacher
2024-05-15  0:53 ` pr-tracker-bot
2024-01-08 12:05 Andreas Gruenbacher
2024-01-10 20:38 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).