Fault injection tool based on scsi driver layer
A technology of fault injection and driver layer, applied in the direction of software testing/debugging, etc., can solve problems such as ignoring usability, and achieve the effect of real fault performance and low cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0034] The specific embodiment one, the fault injection tool based on the SCSI driver layer described in the present embodiment is a fault injection tool based on the SCSI driver layer, and is realized based on the Linux environment, and the kernel version of the Linux is 2.6.28, and the present embodiment The described fault injection tool based on the SCSI driver layer includes a fault injection command incoming interface, a multipath device matching viewing interface and a kernel module, wherein,
[0035] Fault injection command incoming interface: used to provide an external fault configuration file input interface, and generate a fault injection command Scsi_Fault_Cmnd according to the input fault configuration file, and send the fault injection command Scsi_Fault_Cmnd into the kernel;
[0036] Kernel module: run in the kernel state, used to intercept and rewrite the queuecommand function of the SCSI command according to the received fault injection command to realize faul...
specific Embodiment approach 2
[0067] Specific embodiment two, this embodiment is a further description of the kernel module function of the fault injection tool based on the SCSI driver layer in the specific embodiment one, in the present embodiment, the described kernel module is in the mode of dynamic load module, as kernel Part of it simulates the permanent failure and transient failure of the injected disk. The specific process is as follows:
[0068] The user will pass the fault information (Fault_Info) into the kernel through the / proc file system of the Linux system. After receiving the data, the tool will write the fault type, fault interval time, fault start and end sectors and other information into the fault information structure of the corresponding device (Dev_Fault_Info); the newly rewritten queuecommand() function will compare the fault information of the execution device before each SCSI Command is executed, to determine whether the command matches the fault injection information, that is, w...
PUM
![No PUM](https://static-eureka-patsnap-com.libproxy1.nus.edu.sg/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka-patsnap-com.libproxy1.nus.edu.sg/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com