]> 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)
commit637584e29433b8c005cb9b40b3c8c4261c7f4395
tree2a0dc0a082519afd70cc991da36f620bc21272fe
parent6a320ef7ab23e0e1d36a37e649ac7875c4c70124
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