Tyrel Datwyler 6e40de8b6b 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>
2019-06-18 19:46:22 -04:00
..
2019-05-08 10:12:46 -07:00
2018-12-18 23:19:21 -05:00
2019-05-08 10:12:46 -07:00
2019-05-08 10:12:46 -07:00
2019-05-08 10:12:46 -07:00
2019-03-09 16:53:47 -08:00
2019-05-21 06:16:22 -04:00
2019-05-21 06:16:22 -04:00
2019-05-08 10:12:46 -07:00
2019-05-08 10:12:46 -07:00
2019-05-08 10:12:46 -07:00
2019-03-02 11:39:54 -08:00
2018-12-18 23:19:21 -05:00
2018-12-18 23:19:21 -05:00
2018-06-19 22:02:25 -04:00
2018-12-18 23:19:21 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2018-12-18 23:19:21 -05:00
2019-06-18 19:46:18 -04:00
2019-06-18 19:46:18 -04:00
2019-06-18 19:46:18 -04:00
2018-12-18 23:19:21 -05:00
2018-11-06 21:31:28 -05:00
2019-05-21 06:16:22 -04:00
2018-12-18 23:19:21 -05:00
2018-12-28 14:48:06 -08:00
2019-03-09 16:53:47 -08:00
2018-06-19 22:02:25 -04:00
2019-06-18 19:46:17 -04:00
2019-02-12 22:33:00 -05:00
2019-05-21 06:16:23 -04:00
2019-05-21 06:16:23 -04:00
2018-12-18 23:19:21 -05:00
2019-05-21 06:16:23 -04:00
2019-06-18 19:46:18 -04:00
2018-12-18 23:19:21 -05:00
2019-05-08 10:12:46 -07:00
2018-12-28 14:48:06 -08:00