OSDN Git Service

Merge tag 'maxrefcount-fixes-6.2_2022-12-01' of git://git.kernel.org/pub/scm/linux...
authorDarrick J. Wong <djwong@kernel.org>
Thu, 1 Dec 2022 17:35:52 +0000 (09:35 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 1 Dec 2022 17:35:52 +0000 (09:35 -0800)
commit948961964b2404ea474a3643fc0e1b77c592bb7c
treef71d64fa49b6972e84d245b6114d16e5c0d34514
parent575689fc0ffa6c4bb4e72fd18e31a6525a6124e0
parentb25d1984aa884fc91a73a5a407b9ac976d441e9b
Merge tag 'maxrefcount-fixes-6.2_2022-12-01' of git://git./linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeD

xfs: fix broken MAXREFCOUNT handling

This 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.  xfs/179 itself will
be modified to exploit the bug through the pagecache path.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
* tag 'maxrefcount-fixes-6.2_2022-12-01' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: estimate post-merge refcounts correctly
  xfs: hoist refcount record merge predicates