diff options
| author | Tyrel Datwyler <tyreld@linux.vnet.ibm.com> | 2019-05-02 19:50:57 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-18 19:46:22 -0400 |
| commit | 6e40de8b6b3cfa7288bb4a1fee2c7173f53b7345 (patch) | |
| tree | 6f10eb57dfa2a5f0e0d46a1b13bd3ebac7a6d203 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | scsi: ibmvscsi: Wire up host_reset() in the driver's scsi_host_template (diff) | |
| download | linux-6e40de8b6b3cfa7288bb4a1fee2c7173f53b7345.tar.gz linux-6e40de8b6b3cfa7288bb4a1fee2c7173f53b7345.zip | |
scsi: ibmvscsi: redo driver work thread to use enum action states
The current implemenation relies on two flags in the driver's private host
structure to signal the need for a host reset or to reenable the CRQ after
a LPAR migration. This patch does away with those flags and introduces a
single action flag and defined enums for the supported kthread work
actions. Lastly, the if/else logic is replaced with a switch statement.
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
