Linux XFS filesystem development
 help / color / mirror / Atom feed
* improve log context annotations
@ 2026-07-20  9:45 Christoph Hellwig
  2026-07-20  9:45 ` [PATCH 1/8] xfs: fix the lock annotation on xfs_iget_cache_hit Christoph Hellwig
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Christoph Hellwig @ 2026-07-20  9:45 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: linux-xfs

Hi Carlos,

this series improves the lock annotations in the XFS code.

Note that right now this is all mostly unused - the less stringent sparse
lock context checks got disabled when the clang version was merged, and
we're not quite ready to enable the latter yet due to our conditional
locking in the ilock helper and the locking contexts transferred to the
transaction for the inode and dquot locks, but I'm working on that.

In the meantime having these corrected at least serves as useful
documentation.

Diffstat:
 xfs_extent_busy.c |    4 ++--
 xfs_icache.c      |    3 ++-
 xfs_log.c         |   33 +++++++++++++++++++++------------
 xfs_log_cil.c     |    3 ++-
 xfs_log_priv.h    |    4 ++--
 xfs_mru_cache.c   |    2 +-
 xfs_trans_ail.c   |    4 +++-
 xfs_zone_alloc.c  |    2 ++
 8 files changed, 35 insertions(+), 20 deletions(-)

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

end of thread, other threads:[~2026-07-22  9:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20  9:45 improve log context annotations Christoph Hellwig
2026-07-20  9:45 ` [PATCH 1/8] xfs: fix the lock annotation on xfs_iget_cache_hit Christoph Hellwig
2026-07-20  9:45 ` [PATCH 2/8] xfs: fix the lock annotation in xfs_extent_busy_update_extent Christoph Hellwig
2026-07-20  9:45 ` [PATCH 3/8] xfs: fix the lock annotation in xfs_mru_cache_lookup Christoph Hellwig
2026-07-20  9:45 ` [PATCH 4/8] xfs: improve lock annotations in the log code Christoph Hellwig
2026-07-20  9:45 ` [PATCH 5/8] xfs: add lock annotations to xfs_try_open_zone Christoph Hellwig
2026-07-20  9:45 ` [PATCH 6/8] xfs: add lock annotations to xlog_state_shutdown_callbacks Christoph Hellwig
2026-07-20  9:45 ` [PATCH 7/8] xfs: add a lock annotation to xlog_cil_push_background Christoph Hellwig
2026-07-20  9:45 ` [PATCH 8/8] xfs: add lock annotations to xfs_ail_delete* Christoph Hellwig
2026-07-21  9:16 ` improve log context annotations Carlos Maiolino
2026-07-21 15:01   ` Christoph Hellwig
2026-07-21 15:23     ` Darrick J. Wong
2026-07-21 15:27       ` Christoph Hellwig
2026-07-22  0:08   ` Dave Chinner
2026-07-22  9:20     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox