diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-06-27 19:56:12 +1000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-08-11 18:06:16 -0700 |
commit | 1fdadbebc4f617c1ee4a1465ad173cc9e524089d (patch) | |
tree | 384190e78eece0bc5b079a4fda6389c0450f56c6 /drivers/ptp | |
parent | b2c48f9f95cba395e16020bef1fdfc248f53030c (diff) | |
download | linux-1fdadbebc4f617c1ee4a1465ad173cc9e524089d.tar.bz2 |
libnvdimm, pfn, dax: show supported dax/pfn region alignments in sysfs
The alignment of a DAX and PFN regions dictates the page sizes that can
be used to map the region. Even if the hardware page sizes are known the
actual range of supported page sizes that can be used with DAX depends
on the kernel configuration. As a result it's best that the kernel
advertises the alignments that should be used with these region types.
This patch adds the 'supported_alignments' region attribute to expose
this information to userspace.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[djbw: integrate with nd_size_select_show() rename and other fixups]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions