Changes since v2 [1]:
- Drop the patches that have already been applied to the 'pending' branch
- Rebase the dimm extent series and the small 'create-namespace' fixlets
- Move the new libndctl apis to the next library symbol version (Vishal)
- Defer the following to a post ndctl-v66 release:
ndctl/namespace: Add read-infoblock command
ndctl/test: Update dax-dev to handle multiple e820 ranges
ndctl/test: Make dax.sh more robust vs small namespaces
ndctl/namespace: Always zero info-blocks
ndctl/namespace: Disable autorecovery of create-namespace failures
ndctl/test: Checkout device-mapper + dax operation
ndctl/test: Exercise sub-section sized namespace creation/deletion
ndctl/namespace: Kill off the legacy mode names
ndctl/namespace: Introduce mode-to-name and name-to-mode helpers
ndctl/namespace: Validate namespace size within validate_namespace_options()
ndctl/namespace: Clarify 16M minimum size requirement
[1]:
https://lists.01.org/pipermail/linux-nvdimm/2019-July/022766.html
---
This trimmed version includes the extent support for label operations
which significantly speeds up common label operations like
'init-labels'. It also fixes up some surprising results from
'create-namespace' where it would fail even though available capacity is
present. Lastly it suppresses a new warning found in Fedora Rawhide
builds that has moved to gcc 9.1.1.
---
Dan Williams (8):
ndctl/build: Suppress -Waddress-of-packed-member
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
ndctl/namespace: Continue region search on 'missing seed' event
ndctl/namespace: Report ENOSPC when regions are full
Documentation/ndctl/labels-options.txt | 9 ++
Documentation/ndctl/ndctl-read-labels.txt | 7 ++
configure.ac | 1
ndctl/dimm.c | 92 +++++++++++++++++--------
ndctl/lib/dimm.c | 85 +++++++++++++++++++++--
ndctl/lib/libndctl.c | 108 +++++++++++++++++++++++++----
ndctl/lib/libndctl.sym | 9 ++
ndctl/lib/private.h | 4 -
ndctl/libndctl.h | 9 ++
ndctl/namespace.c | 13 +++
util/util.h | 4 +
11 files changed, 286 insertions(+), 55 deletions(-)