libnvdimm/pfn_dev: Add page size and struct page size to pfn superblock
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 5 Sep 2019 15:46:00 +0000 (21:16 +0530)
committerDan Williams <dan.j.williams@intel.com>
Thu, 5 Sep 2019 23:11:14 +0000 (16:11 -0700)
commitedbb52c24441ab5203b969eca759483cb533f36d
tree665648762062a8383fffc6b1e959414f52d330a4
parente96f0bf2ec92da2bc9c11b0d69e9086f076e7f0b
libnvdimm/pfn_dev: Add page size and struct page size to pfn superblock

This is needed so that pmem probe don't wrongly initialize a namespace
which doesn't have enough space reserved for holding struct pages
with the current kernel.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/20190905154603.10349-5-aneesh.kumar@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pfn.h
drivers/nvdimm/pfn_devs.c