aboutsummaryrefslogtreecommitdiff
path: root/drivers/dax/dax-private.h
diff options
context:
space:
mode:
authorGravatar Dave Jiang <dave.jiang@intel.com> 2017-04-07 15:33:31 -0700
committerGravatar Dan Williams <dan.j.williams@intel.com> 2017-04-12 21:56:43 -0700
commit006358b35c73ab75544fb4509483a81ef1a9c0b2 (patch)
tree9f0ac88e27f376ba6b714763def8837167518acd /drivers/dax/dax-private.h
parentlibnvdimm: Add 'resource' sysfs attribute to regions (diff)
downloadlinux-006358b35c73ab75544fb4509483a81ef1a9c0b2.tar.gz
linux-006358b35c73ab75544fb4509483a81ef1a9c0b2.tar.bz2
linux-006358b35c73ab75544fb4509483a81ef1a9c0b2.zip
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