Re: [PATCH v2] libnvdimm, pfn: during init, clear errors in the metadata area

2018-09-18 Thread Dan Williams
On Tue, Sep 18, 2018 at 4:49 PM Vishal Verma wrote: > > If there are badblocks present in the 'struct page' area for pfn > namespaces, until now, the only way to clear them has been to force the > namespace into raw mode, clear the errors, and re-enable the fsdax mode. > This is clunky, given

[PATCH v2] libnvdimm, pfn: during init, clear errors in the metadata area

2018-09-18 Thread Vishal Verma
If there are badblocks present in the 'struct page' area for pfn namespaces, until now, the only way to clear them has been to force the namespace into raw mode, clear the errors, and re-enable the fsdax mode. This is clunky, given that it should be easy enough for the pfn driver to do the same.