Skip to content

fstests: btrfs/15[78] btrfs/14[23]: Use more accurate devid/phsyical for corruption

Qu Wenruo fstests linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fstests: common: Use more accurate kernel config for _require_fail_make_requestcommon/rc+1 -11 reply
2/3fstests: btrfs/14[23]: Use proper help to get both devid and physical offset for corruption.tests/btrfs/142 tests/btrfs/142.out tests/btrfs/143 +1 more+70 -322 replies
3/3fstests: btrfs/15[78]: Use proper helper to get both devid and physical offset for corruptiontests/btrfs/157 tests/btrfs/157.out tests/btrfs/158 +1 more+65 -442 replies

Reviews trailers per patch

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

PatchNikolay BorisovFilipe Manana
1/3R-b
2/3T-b R-b
3/3T-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] fstests: btrfs/15[78] btrfs/14[23]: Use more accurate devid/phsyical for corruption

Btrfs-progs commit c501c9e3b816 ("btrfs-progs: mkfs: match devid order to the stripe index") changed the chunk layout, making it more human friendly for manually offset calculation.

However btrfs/14[23] btrfs/15[78] are using hard-coded devid sequence for corruption, thus they can't stand such change and fail.

This patchset will handle such problems in patch 2 and 3, to use more accurate helper to replace the hard-coded one.

And the first patch will address a bad _notrun messages, which is mostly related to btrfs/14[23].

Qu Wenruo (3):
fstests: common: Use more accurate kernel config for
_require_fail_make_request
fstests: btrfs/14[23]: Use proper help to get both devid and physical
offset for corruption.
fstests: btrfs/15[78]: Use proper helper to get both devid and
physical offset for corruption

 common/rc           |  2 +-
 tests/btrfs/142     | 50 +++++++++++++++++++++++++++++-------------
 tests/btrfs/142.out |  2 --
 tests/btrfs/143     | 48 +++++++++++++++++++++++++++++-----------
 tests/btrfs/143.out |  2 --
 tests/btrfs/157     | 53 +++++++++++++++++++++++++++++----------------
 tests/btrfs/157.out |  4 ----
 tests/btrfs/158     | 48 +++++++++++++++++++++++++---------------
 tests/btrfs/158.out |  4 ----
 9 files changed, 136 insertions(+), 77 deletions(-)
Signature · 1 line
2.23.0