diff options
author | Kevin Barnett <kevin.barnett@microchip.com> | 2021-03-11 23:17:01 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-06 06:02:31 +0300 |
commit | 66f1c2b40270b759eb070990ebd5c8f94244360f (patch) | |
tree | 33ebeb6949ebd243f000277e8af2f75ea5026c18 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2790cd4d3f6ac5a761b0e3851fce2e75490b5051 (diff) | |
download | linux-66f1c2b40270b759eb070990ebd5c8f94244360f.tar.xz |
scsi: smartpqi: Update device scan operations
Change return type from EINPROGRESS to EBUSY to signal applications to
retry a REGNEWD if the driver cannot process the REGNEWD. Events such as
OFA, suspend, and shutdown return EINPROGRESS if a scan is currently
running. This prevents applications from immediately retrying REGNEWD.
Schedule a new REGNEWD if system low on memory.
Link: https://lore.kernel.org/r/161549382157.25025.16054784597622125373.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions