summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/label.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2016-11-11 22:37:36 +0300
committerDan Williams <dan.j.williams@intel.com>2016-11-12 07:35:31 +0300
commit82bf1037f2cab2d6960a08ae08513f2c3c0b335a (patch)
treebe634c78d511c071166a65cdb44c0e6821ad48f7 /drivers/nvdimm/label.c
parentdafb1048740c36c008fc093bea3532637c143f91 (diff)
downloadlinux-82bf1037f2cab2d6960a08ae08513f2c3c0b335a.tar.xz
libnvdimm: check and clear poison before writing to pmem
We need to clear any poison when we are writing to pmem. The granularity will be sector size. If it's less then we can't do anything about it barring corruption. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> [djbw: fixup 0-length write request to succeed] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/label.c')
0 files changed, 0 insertions, 0 deletions