lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] A SCSI fault injection framework using SystemTap.
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@ce.jp.nec.com


\
 
 \ /
  Last update: 2008-01-15 10:53    [W:0.078 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site