nfit, libnvdimm: async region scrub workqueue
authorDan Williams <dan.j.williams@intel.com>
Fri, 19 Feb 2016 20:16:34 +0000 (12:16 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 20:24:06 +0000 (12:24 -0800)
commit7ae0fa439faff000744b234d04cb470bfd83593b
treefbc0666a921014807cf2de0e9feb5d5faba08de9
parenta61fe6f7902ecaa89d5e6c709490fc4324927134
nfit, libnvdimm: async region scrub workqueue

Introduce a workqueue that will be used to run address range scrub
asynchronously with the rest of nvdimm device probing.

Userspace still wants notification when probing operations complete, so
introduce a new callback to flush this workqueue when userspace is
awaiting probe completion.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c
drivers/acpi/nfit.h
drivers/nvdimm/core.c
include/linux/libnvdimm.h