aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/vm
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-12-16 06:19:59 -0500
committerAndi Kleen <ak@linux.intel.com>2009-12-16 06:19:59 -0500
commit7c116f2b0dbac4a1dd051c7a5e8cef37701cafd4 (patch)
treeac7f1e56551df46bc79e400a182a57f4eae5ddaf /Documentation/vm
parent138ce286eb6ee6d39ca4fb50516e93adaf6b605f (diff)
HWPOISON: add fs/device filters
Filesystem data/metadata present the most tricky-to-isolate pages. It requires careful code review and stress testing to get them right. The fs/device filter helps to target the stress tests to some specific filesystem pages. The filter condition is block device's major/minor numbers: - corrupt-filter-dev-major - corrupt-filter-dev-minor When specified (non -1), only page cache pages that belong to that device will be poisoned. The filters are checked reliably on the locked and refcounted page. Haicheng: clear PG_hwpoison and drop bad page count if filter not OK AK: Add documentation CC: Haicheng Li <haicheng.li@intel.com> CC: Nick Piggin <npiggin@suse.de> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'Documentation/vm')
-rw-r--r--Documentation/vm/hwpoison.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/vm/hwpoison.txt b/Documentation/vm/hwpoison.txt
index f047e75acb23..fdf580464324 100644
--- a/Documentation/vm/hwpoison.txt
+++ b/Documentation/vm/hwpoison.txt
@@ -115,6 +115,13 @@ memory failures.
115Note these injection interfaces are not stable and might change between 115Note these injection interfaces are not stable and might change between
116kernel versions 116kernel versions
117 117
118corrupt-filter-dev-major
119corrupt-filter-dev-minor
120
121Only handle memory failures to pages associated with the file system defined
122by block device major/minor. -1U is the wildcard value.
123This should be only used for testing with artificial injection.
124
118Architecture specific MCE injector 125Architecture specific MCE injector
119 126
120x86 has mce-inject, mce-test 127x86 has mce-inject, mce-test