The primary change is the creation of a new 'write-labels' utility that
can replay the output from 'read-labels' back onto a given device
(nmem). This capability is then used to regression test label
compatibility.
Unrelated to write-labels support this series also takes the opportunity
to:
* clean up the source file names for the ndctl utility commands
* add some missing documentation
* fixup the summary output of dimm-related commands
---
Dan Williams (6):
ndctl: drop "builtin" prefix from source file names
Documentation, list: add --device-dax, -X description to man page
Documentation, list: add --mode, -m description to man page
ndctl, dimm: add 'write-labels' command
ndctl, dimm: fix count display in the presence of errors
test: add interleave set compatibility test
Documentation/ndctl-list.txt | 28 ++++++++
builtin.h | 1
ndctl/Makefile.am | 16 ++--
ndctl/bat.c | 0
ndctl/check.c | 0
ndctl/create-nfit.c | 0
ndctl/dimm.c | 138 +++++++++++++++++++++++++++++++++----
ndctl/list.c | 0
ndctl/namespace.c | 0
ndctl/ndctl.c | 1
ndctl/region.c | 0
ndctl/test.c | 0
test/Makefile.am | 11 ++-
test/label-compat.sh | 61 ++++++++++++++++
test/nmem1.bin | Bin
test/nmem2.bin | Bin
test/nmem3.bin | Bin
test/nmem4.bin | Bin
18 files changed, 228 insertions(+), 28 deletions(-)
rename ndctl/{builtin-bat.c => bat.c} (100%)
rename ndctl/{builtin-check.c => check.c} (100%)
rename ndctl/{builtin-create-nfit.c => create-nfit.c} (100%)
rename ndctl/{builtin-dimm.c => dimm.c} (88%)
rename ndctl/{builtin-list.c => list.c} (100%)
rename ndctl/{builtin-xaction-namespace.c => namespace.c} (100%)
rename ndctl/{builtin-xable-region.c => region.c} (100%)
rename ndctl/{builtin-test.c => test.c} (100%)
create mode 100755 test/label-compat.sh
create mode 100644 test/nmem1.bin
create mode 100644 test/nmem2.bin
create mode 100644 test/nmem3.bin
create mode 100644 test/nmem4.bin