All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: linux-nvdimm@lists.01.org
Subject: [ndctl PATCH 0/2] fix the nfit_test fallback for 'ndctl bat'
Date: Wed, 23 Mar 2016 18:16:48 -0700	[thread overview]
Message-ID: <20160324011648.20651.33434.stgit@dwillia2-desk3.jf.intel.com> (raw)

Per test results from Ross [1] we don't want 'ndctl bat' to require
nfit_test.  Patch2 rearranges the fallback to only trigger when an
ACPI.NFIT provider is found.

This uncovered an interesting failure mode whereby
ndctl_bus_get_by_provider() failed to locate an expected bus.  The fix
for that lead to the creation of a new ndctl_invalidate() api, see
patch1 for the details.

[1]: https://lists.01.org/pipermail/linux-nvdimm/2016-March/005017.html

---

Dan Williams (2):
      ndctl: provide a method to invalidate the bus list
      ndctl: don't skip bat tests if nfit_test not available


 lib/libndctl.c          |   22 ++++++++++++++---
 lib/libndctl.sym        |    1 +
 lib/ndctl/libndctl.h.in |    1 +
 test/blk_namespaces.c   |   62 +++++++++++++++++++++++------------------------
 test/pmem_namespaces.c  |   55 ++++++++++++++++++++----------------------
 5 files changed, 76 insertions(+), 65 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

             reply	other threads:[~2016-03-24  1:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-24  1:16 Dan Williams [this message]
2016-03-24  1:16 ` [ndctl PATCH 1/2] ndctl: provide a method to invalidate the bus list Dan Williams
2016-03-24 16:04   ` Ross Zwisler
2016-03-24 16:15     ` Dan Williams
2016-03-24  1:16 ` [ndctl PATCH 2/2] ndctl: don't skip bat tests if nfit_test not available Dan Williams

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=20160324011648.20651.33434.stgit@dwillia2-desk3.jf.intel.com \
    --to=dan.j.williams@intel.com \
    --cc=linux-nvdimm@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.