From patchwork Mon Aug 8 20:07:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Per Forlin X-Patchwork-Id: 3303 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C32A123E54 for ; Mon, 8 Aug 2011 20:08:34 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 93A0CA180DF for ; Mon, 8 Aug 2011 20:08:34 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so908140qwb.11 for ; Mon, 08 Aug 2011 13:08:34 -0700 (PDT) Received: by 10.229.159.194 with SMTP id k2mr1264511qcx.83.1312834114316; Mon, 08 Aug 2011 13:08:34 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.190.71 with SMTP id dh7cs25033qcb; Mon, 8 Aug 2011 13:08:33 -0700 (PDT) Received: from mr.google.com ([10.213.99.146]) by 10.213.99.146 with SMTP id u18mr2538557ebn.13.1312834113689 (num_hops = 1); Mon, 08 Aug 2011 13:08:33 -0700 (PDT) Received: by 10.213.99.146 with SMTP id u18mr1872745ebn.13.1312834113001; Mon, 08 Aug 2011 13:08:33 -0700 (PDT) Received: from mail-ew0-f50.google.com (mail-ew0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id a12si3672191eei.143.2011.08.08.13.08.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Aug 2011 13:08:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.50 is neither permitted nor denied by best guess record for domain of per.forlin@linaro.org) client-ip=209.85.215.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.50 is neither permitted nor denied by best guess record for domain of per.forlin@linaro.org) smtp.mail=per.forlin@linaro.org Received: by ewy10 with SMTP id 10so1363665ewy.37 for ; Mon, 08 Aug 2011 13:08:31 -0700 (PDT) Received: by 10.205.34.130 with SMTP id ss2mr1745436bkb.343.1312834110774; Mon, 08 Aug 2011 13:08:30 -0700 (PDT) Received: from localhost.localdomain (c-c37f71d5.029-82-6c756e10.cust.bredbandsbolaget.se [213.113.127.195]) by mx.google.com with ESMTPS id y2sm677319bkd.19.2011.08.08.13.08.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Aug 2011 13:08:30 -0700 (PDT) From: Per Forlin To: Akinobu Mita , akpm@linux-foundation.org, Linus Walleij , linux-kernel@vger.kernel.org, Randy Dunlap , Chris Ball Cc: linux-doc@vger.kernel.org, linux-mmc@vger.kernel.org, linaro-dev@lists.linaro.org, linux-mm@kvack.org, Per Forlin Subject: [PATCH --mmotm v5 3/3] fault injection: add documentation on MMC IO fault injection Date: Mon, 8 Aug 2011 22:07:29 +0200 Message-Id: <1312834049-29910-4-git-send-email-per.forlin@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1312834049-29910-1-git-send-email-per.forlin@linaro.org> References: <1312834049-29910-1-git-send-email-per.forlin@linaro.org> Add description on how to enable random fault injection for MMC IO Signed-off-by: Per Forlin --- Documentation/fault-injection/fault-injection.txt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault-injection/fault-injection.txt index 82a5d25..10571df 100644 --- a/Documentation/fault-injection/fault-injection.txt +++ b/Documentation/fault-injection/fault-injection.txt @@ -21,6 +21,11 @@ o fail_make_request /sys/block//make-it-fail or /sys/block///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 -----------------------------------------------