Skip to content

ndctl: release v60

Compare
Choose a tag to compare
@stellarhopper stellarhopper released this 18 Apr 18:37
· 875 commits to main since this release
v60
3f78a76
This release incorporates functionality up to the 4.17 kernel, and
a number of bug fixes and improvements.

Highlights include ack_shutdown_count support, fixes to tests that
performed error injections, refactor core topology walking into
util_filter_walk(), a new test for partition auto detection for btt/blk
namespacees, numa_node support for regions, cleanups to the firmware
update command, removal of daxctl io, support for persistence domains
for buses and regions, APIs for retrieving and setting the write_cache
attribute for namespacees, fixes to ARS APIs, new ARS control commands
in ndctl, and an API for the deep_flush attribute for regions.

Commands:
    ndctl list: option to display firmware information
    ndctl create-namespace: fix minimum alignment detection
    ndctl list: allow filtereing by numa node
    ndctl list: fix sector_size sometimes showing as -1
    daxctl io: remove as this functionality is provided in PMDK
    ndctl update-firmware: fix DSM input/output sizes
    various: replace direct errno prints with strerror strings
    ndctl read-labels: fix json reference counting
    various: replace refrences to 'memory' or 'dax' with 'devdax' or 'fsdax'
    ndctl list: report the bus scrub state
    ndctl {wait,start}-scrub: new commands for ARS control
    ndctl list: add a raw_uuid field to namespace listings

Tests:
    ack-shutdown-count-set: new test for the shutdown count APIs
    various: ensure we use the locally build 'ndctl'
    various: fix usage of error injection commands for older kernels
    btt-pad-compat: fix stale json being reused for future commands
    btt-pad-compat: explicitly request namespace size
    dpa-alloc: fix for kernels with 4M min namespace size
    btt-pad-compat: skip for pre-4k capable kernels
    firmware-update: remove fallocate
    rescan-partitions: new test for autodetection of partitions
    core: fix module taint sanity check
    libndctl: add write_cache testing in check_nameespaces()
    pmem-errors: fix locking vs new ARS reworks

Apis:
   ndctl_bus_get_persistence_domain
   ndctl_bus_get_scrub_state
   ndctl_bus_start_scrub
   ndctl_cmd_fw_info_get_next_version
   ndctl_dimm_cmd_new_ack_shutdown_count
   ndctl_dimm_fw_update_supported
   ndctl_namespace_disable_write_cache
   ndctl_namespace_enable_write_cache
   ndctl_namespace_write_cache_is_enabled
   ndctl_region_deep_flush
   ndctl_region_get_numa_node
   ndctl_region_get_persistence_domain