libnvdimm, dax: record the specified alignment of a dax-device instance
authorDan Williams <dan.j.williams@intel.com>
Thu, 31 Mar 2016 22:41:18 +0000 (15:41 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 9 May 2016 22:35:42 +0000 (15:35 -0700)
commit45a0dac0451136fa7ae34a6fea53ef6a136287ce
tree375c69532c6227f5b3f2ff14a756f01097ce2ead
parent52ac23b25eb26511f8dea2382534eeada2fa8244
libnvdimm, dax: record the specified alignment of a dax-device instance

We want to use the alignment as the allocation and mapping unit.
Previously this information was only useful for establishing the data
offset, but now it is important to remember the granularity for the
later use.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pfn.h
drivers/nvdimm/pfn_devs.c