From: "Verma, Vishal L" <vishal.l.verma@intel.com>
To: "Williams, Dan J" <dan.j.williams@intel.com>,
"santosh@fossix.org" <santosh@fossix.org>
Cc: "sbhat@linux.ibm.com" <sbhat@linux.ibm.com>,
"harish@linux.ibm.com" <harish@linux.ibm.com>,
"nvdimm@lists.linux.dev" <nvdimm@lists.linux.dev>,
"vaibhav@linux.ibm.com" <vaibhav@linux.ibm.com>
Subject: Re: [PATCH v2 3/4] test/libndctl: skip SMART tests on non-nfit devices
Date: Sun, 19 Dec 2021 03:34:33 +0000 [thread overview]
Message-ID: <7c7eb0388d4e4ed3d9acf02f46e92d2a518154e6.camel@intel.com> (raw)
In-Reply-To: <CAPcyv4jCUtuWG+Hwc-sndF=OFMXNK2hFDUkhUnEUzJUJTEL8zA@mail.gmail.com>
On Sat, 2021-12-18 at 08:00 -0800, Dan Williams wrote:
> On Wed, Feb 24, 2021 at 10:13 PM Santosh Sivaraj <santosh@fossix.org> wrote:
> >
> > This is just a temporary check till the new module has SMART capabilities
> > emulated.
> >
>
> Hey Vishal, one for the v73 queue...
>
> > Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
> > ---
> > test/libndctl.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
Hi Santosh - would you mind re-sending a rebased version of these? (and
anything else in your queue I may have missed). Apologies for the
delays in picking these up, but I can start picking up whatever was
missed now.
Thanks,
-Vishal
> >
> > diff --git a/test/libndctl.c b/test/libndctl.c
> > index 5043ae0..001f78a 100644
> > --- a/test/libndctl.c
> > +++ b/test/libndctl.c
> > @@ -2427,7 +2427,8 @@ static int check_commands(struct ndctl_bus *bus, struct ndctl_dimm *dimm,
> > * The kernel did not start emulating v1.2 namespace spec smart data
> > * until 4.9.
> > */
> > - if (!ndctl_test_attempt(test, KERNEL_VERSION(4, 9, 0)))
> > + if (!ndctl_test_attempt(test, KERNEL_VERSION(4, 9, 0))
> > + || !ndctl_bus_has_nfit(bus))
> > dimm_commands &= ~((1 << ND_CMD_SMART)
> > | (1 << ND_CMD_SMART_THRESHOLD));
> >
> > --
> > 2.29.2
> >
>
next prev parent reply other threads:[~2021-12-19 3:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-25 6:13 [PATCH v2 1/4] test: Don't skip tests if nfit modules are missing Santosh Sivaraj
2021-02-25 6:13 ` [PATCH v2 2/4] papr: Add support to parse save_fail flag for dimm Santosh Sivaraj
2021-02-25 6:13 ` [PATCH v2 3/4] test/libndctl: skip SMART tests on non-nfit devices Santosh Sivaraj
2021-12-18 16:00 ` Dan Williams
2021-12-19 3:34 ` Verma, Vishal L [this message]
2021-02-25 6:13 ` [PATCH v2 4/4] Use page size as alignment value Santosh Sivaraj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c7eb0388d4e4ed3d9acf02f46e92d2a518154e6.camel@intel.com \
--to=vishal.l.verma@intel.com \
--cc=dan.j.williams@intel.com \
--cc=harish@linux.ibm.com \
--cc=nvdimm@lists.linux.dev \
--cc=santosh@fossix.org \
--cc=sbhat@linux.ibm.com \
--cc=vaibhav@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).