diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2016-01-09 19:36:51 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-01-09 19:36:51 +0300 |
commit | 99e6608c9e7414ae4f2168df8bf8fae3eb49e41f (patch) | |
tree | 20ab40762557164e1358a960782410c33bd4f423 /arch/score | |
parent | 9e0e252a048b0ba5066f0dc15c3b2468ffe5c422 (diff) | |
download | linux-99e6608c9e7414ae4f2168df8bf8fae3eb49e41f.tar.xz |
block: Add badblock management for gendisks
NVDIMM devices, which can behave more like DRAM rather than block
devices, may develop bad cache lines, or 'poison'. A block device
exposed by the pmem driver can then consume poison via a read (or
write), and cause a machine check. On platforms without machine
check recovery features, this would mean a crash.
The block device maintaining a runtime list of all known sectors that
have poison can directly avoid this, and also provide a path forward
to enable proper handling/recovery for DAX faults on such a device.
Use the new badblock management interfaces to add a badblocks list to
gendisks.
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions