On Tue, 2017-05-02 at 17:08 -0700, Dave Jiang wrote:
> On 05/02/2017 04:54 PM, Vishal Verma wrote:
> > On 05/02, Dave Jiang wrote:
> > >
> > > +
> > > + if (!S_ISCHR(stats.st_mode)) {
> > > + error("%s not DAX device\n", dev_name);
> > > + return -1;
> > > + }
> > > +
> >
> > A more general question, we're restricting the clear-error command
> > to
> > dax devs, but is there any reason to do that? Why not just allow
> > clearing errors for normal namespaces too using this?
>
> The thinking was to get the dax devs support in initially and then add
> everything else in the next iteration.
>
Ah ok, that's fine.
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm