OpenCloudOS-Kernel/drivers/acpi/nfit
Dan Williams 594861215c acpi, nfit: Further restrict userspace ARS start requests
In addition to not allowing ARS start while the background thread is
actively running, prevent ARS start while any scrub request is pending.

This aligns the window for ARS start submission with the status of ARS
reported via sysfs. Previously userspace could sneak its own ARS start
requests in while sysfs reported -EBUSY.

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2018-10-17 14:02:32 -07:00
..
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile nfit: do an ARS scrub on hitting a latent media error 2016-07-24 08:04:04 -07:00
core.c acpi, nfit: Further restrict userspace ARS start requests 2018-10-17 14:02:32 -07:00
intel.h acpi, nfit: Collect shutdown status 2018-10-17 10:39:04 -07:00
mce.c acpi, nfit: remove redundant __func__ in dev_dbg 2018-03-05 15:58:36 -08:00
nfit.h acpi, nfit: Fix Address Range Scrub completion tracking 2018-10-17 13:57:51 -07:00