Re: [PATCH fstests] btrfs/14{2,3}: use dm-dust instead of fail_make_request

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]




On 15.04.20 г. 23:54 ч., Omar Sandoval wrote:
> From: Omar Sandoval <osandov@xxxxxx>
> 
> 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@xxxxxx>

Eryu, are you going to merge this patch ?



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux