fstests: add tests for btrfs' raid-stripe-tree feature
Get series with b4
b4 am [email protected] change-id 20231204-btrfs-raid-75975797f97dVersions newest first
- v6 Latest9 patches 3 repliesIn review
- v59 patches 5 repliesSuperseded
- v48 patches 1 replySuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 7 patches | 2 replies | Superseded | |
| v2 | 7 patches | 4 replies | Superseded | |
| v1 | 7 patches | 3 replies | Superseded |
Changes in v6 from the cover letter
- require 4k pagesize for all tests as output depends on page size
- Add Filipe's Reviewed-by
- Link to v5: https://lore.kernel.org/r/[email protected]
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | fstests: doc: add new raid-stripe-tree groupdoc/ | +1 | 0 replies | |
| 2/9 | common: add filter for btrfs raid-stripe dumpcommon/ | +14 | 0 replies | |
| 3/9 | common: add _require_btrfs_no_nodatacow helpercommon/ | +7 | 0 replies | |
| 4/9 | common: add _require_btrfs_free_space_treecommon/ | +10 | 0 replies | |
| 5/9 | btrfs: add fstest for stripe-tree metadata with 4k writetests/ tests/ | +116 | 3 replies | |
| 6/9 | btrfs: add fstest for 8k write spanning two stripes on raid-stripe-treetests/ tests/ | +145 | 0 replies | |
| 7/9 | btrfs: add fstest for writing to a file at an offset with RSTtests/ tests/ | +136 | 0 replies | |
| 8/9 | btrfs: add fstests to write 128k to a RST filesystemtests/ tests/ | +123 | 0 replies | |
| 9/9 | btrfs: add fstest for overwriting a file partially with RSTtests/ tests/ | +168 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Filipe Manana | Anand Jain |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | R-b |
| 6/9 | R-b | |
| 7/9 | R-b | |
| 8/9 | R-b | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/9] fstests: add tests for btrfs' raid-stripe-tree feature
Add tests for btrfs' raid-stripe-tree feature. All of these test work by writing a specific pattern to a newly created filesystem and afterwards using btrfs inspect-internal -t raid-stripe $SCRATCH_DEV_POOL to verify the placement and the layout of the metadata.
The md5sum of each file will be compared as well after a re-mount of the filesystem.
---
Changes in v6:
- require 4k pagesize for all tests as output depends on page size
- Add Filipe's Reviewed-by
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- add _require_btrfs_free_space_tree helper and use in tests
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- add _require_btrfs_no_compress to all tests
- add _require_btrfs_no_nodatacow helper and add to btrfs/308
- add _require_btrfs_feature "free_space_tree" to all tests
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- added 'raid-stripe-tree' to mkfs options, as only zoned raid gets it automatically
- Rename test cases as btrfs/302 and btrfs/303 already exist upstream
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Re-ordered series so the newly introduced group is added before the tests
- Changes Filipe requested to the tests.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Johannes Thumshirn (9):
fstests: doc: add new raid-stripe-tree group
common: add filter for btrfs raid-stripe dump
common: add _require_btrfs_no_nodatacow helper
common: add _require_btrfs_free_space_tree
btrfs: add fstest for stripe-tree metadata with 4k write
btrfs: add fstest for 8k write spanning two stripes on raid-stripe-tree
btrfs: add fstest for writing to a file at an offset with RST
btrfs: add fstests to write 128k to a RST filesystem
btrfs: add fstest for overwriting a file partially with RST
common/btrfs | 17 +++++++++ common/filter.btrfs | 14 +++++++ doc/group-names.txt | 1 + tests/btrfs/304 | 58 ++++++++++++++++++++++++++++ tests/btrfs/304.out | 58 ++++++++++++++++++++++++++++ tests/btrfs/305 | 63 +++++++++++++++++++++++++++++++ tests/btrfs/305.out | 82 ++++++++++++++++++++++++++++++++++++++++ tests/btrfs/306 | 61 ++++++++++++++++++++++++++++++ tests/btrfs/306.out | 75 +++++++++++++++++++++++++++++++++++++ tests/btrfs/307 | 58 ++++++++++++++++++++++++++++ tests/btrfs/307.out | 65 ++++++++++++++++++++++++++++++++ tests/btrfs/308 | 62 ++++++++++++++++++++++++++++++ tests/btrfs/308.out | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 13 files changed, 720 insertions(+)
---
base-commit: e8a1c16502fad2660d29de5835c4c84700b1f11a
change-id: 20231204-btrfs-raid-75975797f97d
Best regards,
Signature · 1 line
Johannes Thumshirn <[email protected]>