Re: [PATCH v3 2/5] libnvdimm/pfn: Prevent raw mode fallback if pfn-infoblock valid

2020-03-02 Thread Aneesh Kumar K.V
Dan Williams writes: > The EOPNOTSUPP return code from the pmem driver indicates that the > namespace has a configuration that may be valid, but the current kernel > does not support it. Expand this to all of the nd_pfn_validate() error > conditions after the infoblock has been verified as self c

[PATCH v3 2/5] libnvdimm/pfn: Prevent raw mode fallback if pfn-infoblock valid

2020-02-28 Thread Dan Williams
The EOPNOTSUPP return code from the pmem driver indicates that the namespace has a configuration that may be valid, but the current kernel does not support it. Expand this to all of the nd_pfn_validate() error conditions after the infoblock has been verified as self consistent. This prevents expos