Skip to content

fstests: btrfs validate sysfs fsid and usage

Anand Jain fstests linux-btrfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

Add more debug log to the _fail per Josef's comment in patch 3. Add Josef RB to all patches.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common/btrfs: add _require_btrfs_sysfs_fsid helpercommon/btrfs+14 -00 replies
2/3btrfs/248: validate sysfs fsidtests/btrfs/248 tests/btrfs/248.out+68 -00 replies
3/3btrfs/249: test btrfs filesystem usage command on missing seed devicetests/btrfs/249 tests/btrfs/249.out+69 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJosef Bacik
1/3R-b
2/3R-b
3/3R-b

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/3] fstests: btrfs validate sysfs fsid and usage

v2:
Add more debug log to the _fail per Josef's comment in patch 3. Add Josef RB to all patches.

---- original cover letter ----
Patch 1 adds a helper to check if the kernel is latest enough to provide the fsid from the sysfs.
Patch 2 validates the sysfs fsid against the fsid from the sb Patch 3 is a test case to make sure if the btrfs filesystem usage is successful on a sprout filesystem with a seed device missing.

Anand Jain (3):
common/btrfs: add _require_btrfs_sysfs_fsid helper btrfs/248: validate sysfs fsid
btrfs/249: test btrfs filesystem usage command on missing seed device

 common/btrfs        | 14 ++++++++++
 tests/btrfs/248     | 66 ++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/248.out |  2 ++
 tests/btrfs/249     | 67 +++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/249.out |  2 ++
 5 files changed, 151 insertions(+)
 create mode 100755 tests/btrfs/248
 create mode 100644 tests/btrfs/248.out
 create mode 100755 tests/btrfs/249
 create mode 100644 tests/btrfs/249.out
Signature · 1 line
2.31.1