diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2015-06-25 11:22:39 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-06-26 18:23:38 +0300 |
commit | fcae695737fca0849c18db814d9d8de05c0fd2a2 (patch) | |
tree | d88f8a5edf637cf1013c764e14df8c97b4b77539 /drivers/nvdimm/nd.h | |
parent | 41cd8b70c37ace40077c8d6ec0b74b983178c192 (diff) | |
download | linux-fcae695737fca0849c18db814d9d8de05c0fd2a2.tar.xz |
libnvdimm, blk: add support for blk integrity
Support multiple block sizes (sector + metadata) for nd_blk in the
same way as done for the BTT. Add the idea of an 'internal' lbasize,
which is properly aligned and padded, and store metadata in this space.
Signed-off-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd.h')
-rw-r--r-- | drivers/nvdimm/nd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvdimm/nd.h b/drivers/nvdimm/nd.h index f4459faa456c..6f916b65b7d6 100644 --- a/drivers/nvdimm/nd.h +++ b/drivers/nvdimm/nd.h @@ -27,6 +27,7 @@ enum { */ ND_MAX_LANES = 256, SECTOR_SHIFT = 9, + INT_LBASIZE_ALIGNMENT = 64, }; struct nvdimm_drvdata { |