Re: [RFC] A SCSI fault injection framework using SystemTap.

From: K.Tanaka
Date: Tue Jan 15 2008 - 04:51:31 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/