[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b708b1b0929317b9b087505c3177d830f69066d1.camel@intel.com>
Date: Thu, 16 Jun 2022 23:44:35 +0000
From: "Verma, Vishal L" <vishal.l.verma@...el.com>
To: "Schofield, Alison" <alison.schofield@...el.com>,
"dave@...olabs.net" <dave@...olabs.net>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"rostedt@...dmis.org" <rostedt@...dmis.org>,
"linux-cxl@...r.kernel.org" <linux-cxl@...r.kernel.org>,
"mingo@...hat.com" <mingo@...hat.com>,
"Williams, Dan J" <dan.j.williams@...el.com>,
"Weiny, Ira" <ira.weiny@...el.com>,
"bwidawsk@...nel.org" <bwidawsk@...nel.org>,
"a.manzanares@...sung.com" <a.manzanares@...sung.com>
Subject: Re: [PATCH 2/3] cxl/mbox: Add GET_POISON_LIST mailbox command support
On Thu, 2022-06-16 at 16:15 -0700, Alison Schofield wrote:
> On Thu, Jun 16, 2022 at 03:45:25PM -0700, Davidlohr Bueso wrote:
> > On Thu, 16 Jun 2022, Alison Schofield wrote:
> >
> > > cxl list --media-errors -m mem1
> > > lists media errors for requested memdev
> > >
> > > cxl list --media-errors -r region#
> >
> > A quick question on the tooling front: the above goes nicely with
> > cxl-list, but what about the rest of the poisoning cmds? Do you
> > have
> > anything in mind? Do we want something specific for media and
> > poison
> > management instead? Ie:
> >
> > cxl media --list-errors <params>
> Not clear how this one differs. Seems like we can get any piece of
> the list w cxl list.
>
> > cxl media --inject-errors <params>
> > cxl media --clear-errors <params>
> For inject/clear I'd probably start w what ndctl does today.
> ndctl inject−error <namespace> [<options>]
> where option -d --uninject performs the clear.
Yeah agreed with Alison that cxl inject-error <options> sounds good.
Generally speaking, we've tried to avoid the 'sub-command of a
subcommand' situation - such as 'cxl <media> <sub-sub-command>
<options>', instead prefering 'cxl <action-object> <options>'.
>
> >
> > Thanks,
> > Davidlohr
Powered by blists - more mailing lists