Matthew Wilcox wrote: > On Tue, Jan 15, 2008 at 12:04:09PM +0900, K.Tanaka wrote: >> I would like to introduce a SCSI fault injection framework using SystemTap. >> >> Currently, kernel has Fault-injection framework and Faulty mode for md, >> which can also be used for testing the error handling. But, they could >> only produce fixed type of errors stochastically. In order to simulate >> more realistic scsi disk faults, I have created a new flexible fault injection >> framework using SystemTap. > > How does it compare to using scsi_debug, which I believe can do all of > the above and more? > Sorry for the lack of explanation. The new framework is supposed to be used by a userspace testing tool (such as a shell script). For the availability, this framework enables user to designate the inode number of the target file on the device to inject faults. On accessing the target file through page caches, a fault will be injected. Also, user can designate the logical block address as the target position of a fault injection. -- --------------------------------------------------------- Kenichi TANAKA | Open Source Software Platform Development Division | Computers Software Operations Unit, NEC Corporation | k-tanaka@xxxxxxxxxxxxx -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel