mbox series

[0/2] fstests: incore unlinked list

Message ID 154993786231.2062.8490515215533507881.stgit@magnolia (mailing list archive)
Headers show
Series fstests: incore unlinked list | expand

Message

Darrick J. Wong Feb. 12, 2019, 2:17 a.m. UTC
Hi all,

This series adds regression tests for the new XFS incore unlinked backref
cache feature.

The first patch teaches the XFS debug knob code to _notrun a test if the
kernel supports debug knob discovery (via sysfs) but doesn't advertise
the particular knob.

The second patch adds four new regression tests.  The two generic/ tests
exercise the creation and removal of O_TMPFILE files (or files which
have been created, opened, unlinked, and then closed), which ensures
that the filesystem can demonstrate that behavior without problems.  The
two xfs/ tests examine the same behavior, but they deliberately skip the
backref cache lookups to ensure that the old code still works.

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=incore-unlinked-list

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=incore-unlinked-list

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=incore-unlinked-list