Skip to content

xfstests: for btrfs publishing/export patchset (v4)

Jeff Mahoney linux-btrfs linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

V2 from the cover letter

- Used next numbers in sequence
- Better commit messages
- Fixed handling of the missing feature cases
- Fixed issues raised in Josef's review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfstests: btrfs/021: test global metadata reservation reportingcommon/rc src/Makefile src/btrfs_ioctl_helper.c +3 more+189 -10 replies
2/3xfstests: btrfs/022: test sysfs exports of allocation and device membership infocommon/config tests/btrfs/022 tests/btrfs/022.out +1 more+194 -00 replies
3/3xfstests: btrfs/023,024,025: test feature ioctl and sysfs interfacescommon/rc src/btrfs_ioctl_helper.c tests/btrfs/023 +6 more+737 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/3] xfstests: for btrfs publishing/export patchset (v4)

These are the tests that Josef requested accompany the submission of the btrfs publishing/export patchset[1].

021: Test new global metadata reservation ioctl
022: Test new sysfs exporting of allocation and device membership 023: Test new sysfs exporting of feature bits
024: Test setting/clearing feature bits via ioctl
025: Test setting/clearing feature bits via sysfs

As part of the ioctl testing, I added a helper that can be extended easily to export simple information via ioctl. This means that the tests can be independent of btrfsprogs version or its output formatting.

V2:
- Used next numbers in sequence
- Better commit messages
- Fixed handling of the missing feature cases
- Fixed issues raised in Josef's review

V3:
- Fixed missing output in btrfs/023 when the ioctls arent't supported
- Fixed missing umount introduced in V2

V4:
- I was running the tests directly, not through check and didn't catch these:
- Fixed incorrect output from 022 while running under check
- Added tests to group file

-Jeff

[1] http://thread.gmane.org/gmane.comp.file-systems.btrfs/29307