Changes since v1: * Merge the cleanups and fixes with Dave's reviewed-by * Rework acpi_nfit_query_poison() to be independent of the spa range * Rework all acpi_nfit_query_poison() usage to call it once and then iterate the result buffer over all SPA ranges * Make sure the implementation never attempts to scrub / register unknown SPA types * Change no_init_ars to a bool type so it can be specified without an '=' character.
--- Given the fact that ARS can take 10s to 100s of seconds it is not feasible to wait for ARS completion before publishing persistent memory namespaces. Instead convert the ARS implementation to perform a short ARS for critical errors, ones that caused a previous system reset, before registering namespaces. Finally, arrange for all long ARS operations to run in the background and populate the badblock lists at run time. --- Dan Williams (3): nfit, address-range-scrub: determine one platform max_ars value nfit, address-range-scrub: rework and simplify ARS state machine nfit, address-range-scrub: add module option to skip initial ars drivers/acpi/nfit/core.c | 542 ++++++++++++++++++++-------------------------- drivers/acpi/nfit/nfit.h | 6 - 2 files changed, 243 insertions(+), 305 deletions(-) _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm