]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33a1805925da8565a2bf292e1dec6bc753f18b5f
treee7c195ad3cf57ad677c766f1433835633a9a1d8f
parentf3fdc3f450de8a34f7def935b4c1ec814d0ed265
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