Skip to content

RFC xfs: change xfs log item refcount design

Jeffin Philip linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: add lockref and generic helpers for refcountingfs/xfs/xfs_log.c fs/xfs/xfs_trans.h+45 -00 replies
2/2xfs: change xfs_trans_ail_delete return type to boolfs/xfs/xfs_trans_ail.c fs/xfs/xfs_trans_priv.h+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] xfs: change xfs log item refcount design

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(-)
Signature · 1 line
2.55.0