Skip to content

Commit

Permalink
fault-inject: add documentation on MMC IO fault injection
Browse files Browse the repository at this point in the history
Add description on how to enable random fault injection
for MMC IO.

Signed-off-by: Per Forlin <[email protected]>
Acked-by: Akinobu Mita <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
  • Loading branch information
perfor authored and cjb committed Oct 26, 2011
1 parent 1b676f7 commit 1e4cb22
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Documentation/fault-injection/fault-injection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ o fail_make_request
/sys/block/<device>/make-it-fail or
/sys/block/<device>/<partition>/make-it-fail. (generic_make_request())

o fail_mmc_request

injects MMC data errors on devices permitted by setting
debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request

Configure fault-injection capabilities behavior
-----------------------------------------------

Expand Down Expand Up @@ -115,7 +120,8 @@ use the boot option:

failslab=
fail_page_alloc=
fail_make_request=<interval>,<probability>,<space>,<times>
fail_make_request=
fail_mmc_request=<interval>,<probability>,<space>,<times>

How to add new fault injection capability
-----------------------------------------
Expand Down

0 comments on commit 1e4cb22

Please sign in to comment.