OSDN Git Service

acpi, nfit: limit ->flush_probe() to initialization work
authorDan Williams <dan.j.williams@intel.com>
Fri, 14 Apr 2017 05:48:46 +0000 (22:48 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 17 Apr 2017 19:34:17 +0000 (12:34 -0700)
commit9ccaed4bfd4f186e8350ffc7d8f188f8d2991fd9
treee7c195ad3cf57ad677c766f1433835633a9a1d8f
parentcaa603aae0cc0b6f25fa4673de067f625faaf47f
acpi, nfit: limit ->flush_probe() to initialization work

The nvdimm probe flushing mechanism gives userspace a sync point where
it knows all asynchronous driver probe sequences have completed.
However, it need not wait for other asynchronous actions, like
on-demand address-range-scrub. Track the init work separately from other
work in the workqueue, and only flush the former.

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