]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff602080cba2c9ca83147ae4a1f62c8f7fb01368
tree375c69532c6227f5b3f2ff14a756f01097ce2ead
parent34b6e01e7b76e9b8ca7f507758c5e23647ee7acf
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