Files
apfstests/tests/btrfs
Omar Sandoval e2e468d4dd btrfs/14{2,3}: use dm-dust instead of fail_make_request
These two tests test direct I/O and buffered read repair, respectively,
with fail_make_request. However, by using "fail_make_request/times",
they rely on repair having a specific I/O pattern. My pending Btrfs
direct I/O refactoring patch series changes this I/O pattern and thus
breaks this test.

The dm-dust target (added in v5.2) emulates a device with bad blocks
that are fixed when written to (like a device that remaps bad blocks).
This is exactly what we want for testing repair. Add some common dm-dust
helpers and update the tests to use dm-dust.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2020-05-18 00:25:17 +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
2020-02-09 23:56:09 +08: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
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
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
2020-01-06 16:15:04 +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-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
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-03 22:16:15 +08:00
2019-04-06 19:41:47 +08:00
2018-06-03 22:16:15 +08:00
2018-11-11 22:33:12 +08:00
2020-02-17 21:16: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
2019-10-25 07:47:14 +08:00
2020-02-17 20:37:50 +08:00