Skip to content

btrfs feature testing + props fix

[email protected] fstests linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v14 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs/048: extend _filter_btrfs_prop_error to handle additional errorscommon/filter.btrfs tests/btrfs/048 tests/btrfs/048.out+13 -71 reply
2/4btrfs/124: test global metadata reservation reporting.gitignore common/btrfs src/Makefile +4 more+264 -11 reply
3/4btrfs/125: test sysfs exports of allocation and device membership infocommon/btrfs common/config tests/btrfs/125 +2 more+190 -31 reply
4/4btrfs/126,127,128: test feature ioctl and sysfs interfacescommon/btrfs src/btrfs_ioctl_helper.c tests/btrfs/126 +6 more+835 -01 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchEryu Guan
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] btrfs feature testing + props fix

From: Jeff Mahoney <[email protected]>

Hi all -

Thanks, Eryu, for the review. The btrfs feature testing changes were a patchet I wrote three years ago, and it looks like significant cleanup has happened in the xfstests since then. I'm sorry for the level of the review you had to do for them, but do appreciate that you did.

This version should fix the outstanding issues, including some issues with the tests themselves, where e.g. the 32MB reserved size was file system-size (and implementation) dependent. Most notably, since these tests share some common functionality that ultimately hit ~250 lines, I chose to create a new common/btrfs library. Other than that, I tried to meet the level of consistency you were looking for with just printing errors instead of failing, not depending on error codes, etc.

Thanks,

-Jeff

---

Jeff Mahoney (4):
btrfs/048: extend _filter_btrfs_prop_error to handle additional errors btrfs/124: test global metadata reservation reporting btrfs/125: test sysfs exports of allocation and device membership info btrfs/126,127,128: test feature ioctl and sysfs interfaces

 .gitignore               |   1 +
 common/btrfs             | 253 +++++++++++++++++++++++++++++++++++++++++++++++
 common/config            |   7 +-
 common/filter.btrfs      |  10 +-
 src/Makefile             |   3 +-
 src/btrfs_ioctl_helper.c | 220 +++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/048          |   6 +-
 tests/btrfs/048.out      |   4 +-
 tests/btrfs/124          |  84 ++++++++++++++++
 tests/btrfs/124.out      |   1 +
 tests/btrfs/125          | 177 +++++++++++++++++++++++++++++++++
 tests/btrfs/125.out      |   1 +
 tests/btrfs/126          | 244 +++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/126.out      |   1 +
 tests/btrfs/127          | 166 +++++++++++++++++++++++++++++++
 tests/btrfs/127.out      |   1 +
 tests/btrfs/128          | 128 ++++++++++++++++++++++++
 tests/btrfs/128.out      |   1 +
 tests/btrfs/group        |   5 +
 19 files changed, 1302 insertions(+), 11 deletions(-)
 create mode 100644 common/btrfs
 create mode 100644 src/btrfs_ioctl_helper.c
 create mode 100755 tests/btrfs/124
 create mode 100644 tests/btrfs/124.out
 create mode 100755 tests/btrfs/125
 create mode 100644 tests/btrfs/125.out
 create mode 100755 tests/btrfs/126
 create mode 100644 tests/btrfs/126.out
 create mode 100755 tests/btrfs/127
 create mode 100644 tests/btrfs/127.out
 create mode 100755 tests/btrfs/128
 create mode 100644 tests/btrfs/128.out
Signature · 1 line
1.8.5.6