aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXiaofei Tan <[email protected]>2017-12-09 01:16:38 +0800
committerMartin K. Petersen <[email protected]>2017-12-14 21:25:02 -0500
commite402acdb664134f948b62d13b7db866295689f38 (patch)
tree7c21733cbf6c3ce63bd37a08b5bd33bb584870e0 /tools/perf/scripts/python/export-to-postgresql.py
parentf8e45ec226e2c00c1da9cf156ea59a159e9b4ea6 (diff)
scsi: hisi_sas: add an mechanism to do reset work synchronously
Sometimes it is required to know when the controller reset has completed and also if it has completed successfully. For such places, we call hisi_sas_controller_reset() directly before. That may lead to multiple calls to this function. This patch create a per-reset structure which contains a completion structure and status flag to know when the reset completes and also the status. It is also in hisi_hba.wq to do reset work. As all host reset works are done in hisi_hba.wq, we don't worry multiple calls to hisi_sas_controller_reset(). Signed-off-by: Xiaofei Tan <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions