pmem, dax: disable dax in the presence of bad blocks
authorDan Williams <dan.j.williams@intel.com>
Wed, 6 Jan 2016 20:03:42 +0000 (12:03 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 10 Jan 2016 06:42:31 +0000 (22:42 -0800)
commit57f7f317abdd07954cb116280c88d18378afb33e
tree8f39a9ea74d7babfbccfd0bcafc01e0e284499f4
parente10624f8c09710b3b0740ea3847627ea02f55c39
pmem, dax: disable dax in the presence of bad blocks

Longer term teach dax to punch "error" holes in mapping requests and
deliver SIGBUS to applications that consume a bad pmem page.  For now,
simply disable the dax performance optimization in the presence of known
errors.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
block/ioctl.c
drivers/nvdimm/pmem.c