commit 86ef58a4e35e8fa66afb5898cf6dec6a3bb29f67 upstream.
The interleave-set cookie is a sum that sanity checks the composition of
an interleave set has not changed from when the namespace was initially
created. The checksum is calculated by sorting the DIMMs by their
location in the
Adding dax support to the nvdimm testing in tools/testing/nvdimm. The
memory allocated by the tool is via vmalloc and non-contiguous.
Overriding pgoff_to_phys() call to support the vmalloc memory.
Signed-off-by: Dave Jiang
Reviewed-by: Johannes Thumshirn
Adding sysfs attribute in order to export the physical address of the
ND region. This is for supporting of user app poison clear via
device dax.
Signed-off-by: Dave Jiang
Reviewed-by: Johannes Thumshirn
---
drivers/nvdimm/region_devs.c | 13
Moving the xlat_status() call to a single location to clean up the code
since it is getting called in the main code paths already. We only need
to bail on the error path at a single location.
Signed-off-by: Dave Jiang
Reviewed-by: Johannes Thumshirn
---
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.
Signed-off-by: Dave Jiang
Reviewed-by: Johannes Thumshirn
On Tue, Mar 7, 2017 at 1:06 PM, Dave Jiang wrote:
> 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.
>
>