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>
This commit is contained in:
Dan Williams 2016-03-31 15:41:18 -07:00
commit 45a0dac045
2 changed files with 9 additions and 3 deletions