linux-nvdimm.lists.01.org archive mirror
 help / color / mirror / Atom feed
* [ndctl PATCH 0/2] ndctl: Cross-arch compatible namespace alignment
@ 2020-01-30 22:42 Dan Williams
  2020-01-30 22:42 ` [ndctl PATCH 1/2] ndctl/region: Support ndctl_region_{get, set}_align() Dan Williams
  2020-01-30 22:42 ` [ndctl PATCH 2/2] ndctl/namespace: Improve namespace action failure messages Dan Williams
  0 siblings, 2 replies; 9+ messages in thread
From: Dan Williams @ 2020-01-30 22:42 UTC (permalink / raw)
  To: vishal.l.verma; +Cc: Aneesh Kumar K.V, linux-nvdimm

A follow-up to the region-align kernel enabling, [1], update ndctl to
enumerate region alignment, and update the unit tests to account for the
kernel's default compatible alignment.

Given that changing the default is a surefire way to create incompatible
namespaces I do not think it makes sense to plumb region alignment
through the create-namespace interface. Only expert users would be
expected to trawl through sysfs and set a non-default alignment. I.e.
the lack of documentation and enabling for setting this value in the
ndctl man pages is deliberate.

---

Dan Williams (2):
      ndctl/region: Support ndctl_region_{get,set}_align()
      ndctl/namespace: Improve namespace action failure messages


 ndctl/lib/libndctl.c   |   35 ++++++++++++++++++++
 ndctl/lib/libndctl.sym |    2 +
 ndctl/libndctl.h       |    2 +
 ndctl/list.c           |    5 +++
 ndctl/namespace.c      |   82 ++++++++++++++++++++++++++++++++----------------
 test/blk_namespaces.c  |    1 +
 test/dpa-alloc.c       |   10 +++++-
 test/dsm-fail.c        |    5 ++-
 test/libndctl.c        |   10 +++++-
 test/parent-uuid.c     |    1 +
 10 files changed, 121 insertions(+), 32 deletions(-)
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

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

end of thread, other threads:[~2020-02-26 22:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 22:42 [ndctl PATCH 0/2] ndctl: Cross-arch compatible namespace alignment Dan Williams
2020-01-30 22:42 ` [ndctl PATCH 1/2] ndctl/region: Support ndctl_region_{get, set}_align() Dan Williams
2020-02-19 18:03   ` Jeff Moyer
2020-02-25 23:23     ` Dan Williams
2020-02-26 17:49       ` Dan Williams
2020-02-26 21:52       ` Jeff Moyer
2020-02-26 22:20         ` Dan Williams
2020-02-26 22:44           ` Jeff Moyer
2020-01-30 22:42 ` [ndctl PATCH 2/2] ndctl/namespace: Improve namespace action failure messages Dan Williams

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).