]> 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)
commit93393a6e16f88ec0986ed974fae9bb1c0eaeaeb4
treee7c195ad3cf57ad677c766f1433835633a9a1d8f
parenta7995163deaf414d8f5bc1533a4da7d0265b7523
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