commit | f13d2b61e59cbdd813be7639eb85bfbf99593ac0 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Fri Aug 11 17:54:48 2017 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Aug 15 09:32:12 2017 -0700 |
tree | 416d7bf862f4d926e4f399811274fcd99b908f5c | |
parent | 1fdadbebc4f617c1ee4a1465ad173cc9e524089d [diff] |
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>