mbox series

[PATCHSET,0/2] xfs: fix broken MAXREFCOUNT handling

Message ID 166975928548.3768925.15141817742859398250.stgit@magnolia (mailing list archive)
Headers show
Series xfs: fix broken MAXREFCOUNT handling | expand

Message

Darrick J. Wong Nov. 29, 2022, 10:01 p.m. UTC
Hi all,

This quick series fixes a bug in the refcount code where we don't merge
records correctly if the refcount is hovering around MAXREFCOUNT.  This
fixes regressions in xfs/179 when fsdax is enabled.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=maxrefcount-fixes-6.2
---
 fs/xfs/libxfs/xfs_refcount.c |  143 +++++++++++++++++++++++++++++++++++++-----
 1 file changed, 127 insertions(+), 16 deletions(-)