Hey, This series adds support for:
1) Listing mappings when passing -M to ´daxctl list´. These are ommited by default. 2) Iteration APIs for the mappings. 3) Allow passing an input JSON file with the manually selected ranges to be used when creating the device-dax instance. This applies on top of 'jm/devdax_subdiv' branch in github.com:pmem/ndctl.git Testing requires a 5.10+ kernel. v1 -> v2: * List mappings only with -M|--mappings option * Adds a unit test for --input file (while testing with -M listing too) * Rename --restore to --input * Add Documentation for -M and for --input Joao Martins (5): libdaxctl: add mapping iterator APIs daxctl: include mappings when listing libdaxctl: add daxctl_dev_set_mapping() daxctl: allow creating devices from input json daxctl/test: add a test for daxctl-create with input file Documentation/daxctl/daxctl-create-device.txt | 13 +++ Documentation/daxctl/daxctl-list.txt | 4 + daxctl/device.c | 128 +++++++++++++++++++++++++- daxctl/lib/libdaxctl-private.h | 8 ++ daxctl/lib/libdaxctl.c | 118 +++++++++++++++++++++++- daxctl/lib/libdaxctl.sym | 7 ++ daxctl/libdaxctl.h | 14 +++ daxctl/list.c | 4 + test/daxctl-create.sh | 31 ++++++- util/json.c | 57 +++++++++++- util/json.h | 4 + 11 files changed, 380 insertions(+), 8 deletions(-) -- 1.8.3.1 _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
