All of lore.kernel.org
 help / color / mirror / Atom feed
* [ndctl PATCH 0/2] fix the nfit_test fallback for 'ndctl bat'
@ 2016-03-24  1:16 Dan Williams
  2016-03-24  1:16 ` [ndctl PATCH 1/2] ndctl: provide a method to invalidate the bus list Dan Williams
  2016-03-24  1:16 ` [ndctl PATCH 2/2] ndctl: don't skip bat tests if nfit_test not available Dan Williams
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Williams @ 2016-03-24  1:16 UTC (permalink / raw)
  To: linux-nvdimm

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-24 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24  1:16 [ndctl PATCH 0/2] fix the nfit_test fallback for 'ndctl bat' Dan Williams
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

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.