xfstests: test the nfs/cifs/btrfs/xfs reflink/dedupe ioctls
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | test-scripts: test migration scriptstools/ tools/ tools/ | +168 | 0 replies | |
| 2/3 | generic/15[78]: fix error messages in the golden outputtests/ tests/ tests/ +1 more | +33 | 0 replies | |
| 3/3 | reflink: more teststests/ tests/ tests/ +8 more | +524 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v3.4 0/3] xfstests: test the nfs/cifs/btrfs/xfs reflink/dedupe ioctls
Hi all,
This is a small patch set against the reflink/dedupe test cases in xfstests. The first patch is a rewrite of the tools to find the lowest vacant ID number and to move a test case. These two programs are useful for staging a lot of new tests at a high number and moving them to lower numbers when the maintainer wants to accept the new tests.
The second patch updates the golden output for the test that examines the results of feeding bad inputs to the two ioctls. The new error values are based on a discussion of how to react to bad file types on the mailing lists and the ongoing work to hoist the ioctls to the VFS level.
The third patch has a few more tests for things that I found while rewriting XFS copy-on-write, and for explicitly testing the ability to reflink/dedupe "to the end of the file" by setting len == 0. These tests are new and need more careful review than the first two patches.
If you're going to start using this mess, you probably ought to just pull from my github trees for kernel[1], xfsprogs[2], xfstests[3], and xfs-docs[4]. They should just work with the btrfs that's in 4.4... and somewhat buggily with the 4.4 XFS patched with [1]. The relevant xfs_io support will be in xfsprogs 4.3 though it still needs a patch to fix len == 0 support. Probably easier just to grab [2] and build that.
Comments and questions are, as always, welcome.
--D
[1] https://github.com/djwong/linux/tree/for-dave
[2] https://github.com/djwong/xfsprogs/tree/for-dave
[3] https://github.com/djwong/xfstests/tree/for-dave
[4] https://github.com/djwong/xfs-documentation/tree/for-dave