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-le...@lists.01.org