Re: [PATCH v3 3/6] mm/nvdimm: Add page size and struct page size to pfn superblock

2019-06-11 Thread Jan Kara
On Tue 04-06-19 14:43:54, Aneesh Kumar K.V wrote: > This is needed so that we don't wrongly initialize a namespace > which doesn't have enough space reserved for holding struct pages > with the current kernel. > > We also increment PFN_MIN_VERSION to make sure that older kernel > won't initialize

[PATCH v3 3/6] mm/nvdimm: Add page size and struct page size to pfn superblock

2019-06-04 Thread Aneesh Kumar K.V
This is needed so that we don't wrongly initialize a namespace which doesn't have enough space reserved for holding struct pages with the current kernel. We also increment PFN_MIN_VERSION to make sure that older kernel won't initialize namespace created with newer kernel. Signed-off-by: Aneesh Ku