Searched hist:f13d2b61 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/nvdimm/ |
H A D | pfn_devs.c | f13d2b61 Sat Aug 12 00:54:48 GMT 2017 Dan Williams <dan.j.williams@intel.com> libnvdimm, pfn, dax: limit namespace alignments to the supported set
Now that we properly advertise the supported pte, pmd, and pud sizes, restrict the supported alignments that can be set on a namespace. This assumes that userspace was not previously relying on the ability to set odd alignments. At least ndctl only ever supported setting the namespace alignment to 4K, 2M, or 1G.
Cc: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|