[RFC PATCH 0/2] xfs: change xfs log item refcount design
From: Jeffin Philip
Date: Fri Sep 11 2026 - 06:34:49 EST
This patch series is the first of the series where we attempt to convert
the XFS Log item reference counting design to be more generic
compared to the previous type-specific state to fix the "zero
refcount but in AIL means alive" state. The patch series follows
instructions outlined here[1].
Obviously, the wrappers will be integrated in type-specific functions
later on.
No behavioral change as of yet.
[1]: https://lore.kernel.org/all/aqI6v-_dc2DDSbgB@dread/
Jeffin Philip (2):
xfs: add lockref and generic helpers for refcounting
xfs: change xfs_trans_ail_delete return type to bool
fs/xfs/xfs_log.c | 38 ++++++++++++++++++++++++++++++++++++++
fs/xfs/xfs_trans.h | 7 +++++++
fs/xfs/xfs_trans_ail.c | 5 +++--
fs/xfs/xfs_trans_priv.h | 2 +-
4 files changed, 49 insertions(+), 3 deletions(-)
--
2.55.0