List, All, I have been working on creating a "bad disk" for use with testing. One aim is for having an easy way to create a SCSI disk that fails in certain controllable ways to make sure that filesystem code or applications that talk directly to a SCSI disk handle error conditions and specific sense codes correctly. To do things like : * flag certain regions of blocks to always fail with certain sense codes * cause i/o to certain regions cause the whole device to "hang" for some time * torture : "fail 10% of any READs with a certain error". * transient errors: make the next #n i/o to a range fail with a sense code, then self-heal the device and further i/o complete without error. A very first prototype can be seen at : https://github.com/rsahlberg/flaky-stgt Please see the README. This will probably eventually be merged back into the upstream tgt project. Is this something you guys would find useful? If so I am more than happy to work with you to add what features you need or want. Best regards, and hopefully you find this useful. Feedback appreciated. ronnie sahlberg -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html