]> git.baikalelectronics.ru Git - kernel.git/commit
dm flakey: add corrupt_bio_byte feature
authorMike Snitzer <snitzer@redhat.com>
Tue, 2 Aug 2011 11:32:06 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:06 +0000 (12:32 +0100)
commit945f870082f96d6dc1da73a0d5562c8c021e1675
tree2a0dc0a082519afd70cc991da36f620bc21272fe
parent130a74e6bbe69b6903139c8cd06364791a97b123
dm flakey: add corrupt_bio_byte feature

Add corrupt_bio_byte feature to simulate corruption by overwriting a byte at a
specified position with a specified value during intervals when the device is
"down".

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Documentation/device-mapper/dm-flakey.txt
drivers/md/dm-flakey.c