dax: check resource alignment at dax region/device create
authorDan Williams <dan.j.williams@intel.com>
Tue, 19 Jul 2016 23:17:58 +0000 (16:17 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 24 Aug 2016 05:58:52 +0000 (22:58 -0700)
commit9d2d01a031a945075d4609b1c4d3c73f10ba61e7
tree45743da7f0fdffa1c1f43920d0cf5cf94737af6b
parent9dc1e4927bfabaf654738c9ecca3a4926a0aaeb5
dax: check resource alignment at dax region/device create

All the extents of a dax-device must match the alignment of the region.
Otherwise, we are unable to guarantee fault semantics of a given page
size.  The region must be self-consistent itself as well.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/dax.c