Files
apfstests/tests/btrfs
Qu Wenruo 996e263244 btrfs/14[01]: Use proper helper to get both devid and physical for corruption
[BUG]
With btrfs-progs v5.4, btrfs/140 and btrfs/141 will fail.

[CAUSE]
Both tests are testing re-silvering of RAID1, thus they need to corrupt
on-disk data.

This requires to do manual logical -> physical bytes mapping in the test
case.
However the test case itself uses too many hard coded helper to grab
physical offset, which will change with mkfs.btrfs.

[FIX]
Use more flex helper, to get both devid and physical for such
corruption.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2020-01-06 16:12:39 +08:00
..
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2019-01-27 13:30:16 +08:00
2018-06-09 11:35:50 +10:00
2013-10-12 19:30:19 -05:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2013-12-03 10:29:29 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2014-02-03 10:06:14 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2016-01-11 15:05:20 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-01-27 16:06:12 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-04-01 11:32:01 +11:00
2015-04-01 11:35:44 +11:00
2019-11-02 14:30:14 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-09-21 13:06:18 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2019-04-06 19:41:47 +08:00
2019-04-06 19:41:47 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2016-07-19 12:20:43 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-02-15 18:02:15 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-09-16 19:56:08 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2019-04-06 19:41:47 +08:00
2017-11-15 14:45:24 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-03 22:16:15 +08:00
2019-04-06 19:41:47 +08:00
2018-06-03 22:16:15 +08:00
2018-10-06 17:40:09 +08:00
2018-11-11 22:33:12 +08:00
2019-12-16 00:09:08 +08:00
2019-05-30 09:48:49 +08:00
2019-10-25 07:47:14 +08:00
2019-10-25 07:47:14 +08:00
2019-10-25 07:47:14 +08:00
2019-10-25 07:47:14 +08:00