diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-04-14 07:48:46 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-17 21:34:17 +0200 |
commit | 9ccaed4bfd4f186e8350ffc7d8f188f8d2991fd9 (patch) | |
tree | e7c195ad3cf57ad677c766f1433835633a9a1d8f /drivers/acpi/nfit/nfit.h | |
parent | acpi, nfit: collate health state flags (diff) | |
download | linux-9ccaed4bfd4f186e8350ffc7d8f188f8d2991fd9.tar.xz linux-9ccaed4bfd4f186e8350ffc7d8f188f8d2991fd9.zip |
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>
Diffstat (limited to 'drivers/acpi/nfit/nfit.h')
-rw-r--r-- | drivers/acpi/nfit/nfit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/nfit/nfit.h b/drivers/acpi/nfit/nfit.h index aaabd2721f8e..fac098bfa585 100644 --- a/drivers/acpi/nfit/nfit.h +++ b/drivers/acpi/nfit/nfit.h @@ -163,6 +163,7 @@ struct acpi_nfit_desc { unsigned int scrub_count; unsigned int scrub_mode; unsigned int cancel:1; + unsigned int init_complete:1; unsigned long dimm_cmd_force_en; unsigned long bus_cmd_force_en; int (*blk_do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, |