In almost all use cases ndctl was reading more label data than necessary
to carry out tasks like "init-labels" and the auto-label capability of
"create-namespace".
Outside of index-block scoped operations above, there is utility in
being able to specify an extent range smaller than the full capacity to
"{read,write,zero}-labels".
Deploy optimizations to only operate on the index blocks when possible,
and allow for custom extents for the generic operations.
---
Dan Williams (5):
ndctl/dimm: Support small label reads/writes
ndctl/dimm: Minimize data-transfer for init-labels
ndctl/dimm: Add offset and size options to {read,write,zero}-labels
ndctl/dimm: Limit read-labels with --index option
ndctl/namespace: Minimize label data transfer for autolabel
Documentation/ndctl/labels-options.txt | 9 +++
ndctl/dimm.c | 88 ++++++++++++++++++--------
ndctl/lib/dimm.c | 85 +++++++++++++++++++++++--
ndctl/lib/libndctl.c | 107 ++++++++++++++++++++++++++++----
ndctl/lib/libndctl.sym | 5 +
ndctl/lib/private.h | 4 -
ndctl/libndctl.h | 9 +++
ndctl/namespace.c | 2 -
util/util.h | 4 +
9 files changed, 260 insertions(+), 53 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm