diff options
author | Dave Jiang <dave.jiang@intel.com> | 2017-04-08 01:33:31 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-13 07:56:43 +0300 |
commit | 006358b35c73ab75544fb4509483a81ef1a9c0b2 (patch) | |
tree | 9f0ac88e27f376ba6b714763def8837167518acd /drivers/dax/dax-private.h | |
parent | 802f4be6feee3f0395c26ac9717da5b15f6b8fec (diff) | |
download | linux-006358b35c73ab75544fb4509483a81ef1a9c0b2.tar.xz |
libnvdimm: add support for clear poison list and badblocks for device dax
Providing mechanism to clear poison list via the ndctl ND_CMD_CLEAR_ERROR
call. We will update the poison list and also the badblocks at region level
if the region is in dax mode or in pmem mode and not active. In other
words we force badblocks to be cleared through write requests if the
address is currently accessed through a block device, otherwise it can
only be done via the ioctl+dsm path.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/dax-private.h')
0 files changed, 0 insertions, 0 deletions