dm flakey: introduce random_read_corrupt and random_write_corrupt options
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 1 May 2023 13:20:08 +0000 (09:20 -0400)
committerMike Snitzer <snitzer@kernel.org>
Fri, 16 Jun 2023 22:24:13 +0000 (18:24 -0400)
commit4c2c845bdc9a3443ce805460a75242923b0c5ab5
treefe372a6c49f93c06a9168e1190e407f1b1d7a09f
parent1d9a943898533e83f20370c0e1448d606627522e
dm flakey: introduce random_read_corrupt and random_write_corrupt options

The random_read_corrupt and random_write_corrupt options corrupt a
random byte in a bio with the provided probability. The corruption
only happens in the "down" interval.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Documentation/admin-guide/device-mapper/dm-flakey.rst
drivers/md/dm-flakey.c