Files
linux/drivers/scsi
Quinn Tran 6486bc4bc5 scsi: qla2xxx: Reduce holding sess_lock to prevent CPU lock-up
commit 0aca77843e upstream.

- Reduce sess_lock holding to prevent CPU Lock up. sess_lock was held across
  fc_port registration and deletion.  These calls can be blocked by upper
  layer. Sess_lock is also being accessed by interrupt thread.

- Reduce number of loops in processing work_list to prevent kernel complaint
  of CPU lockup or holding sess_lock.

Reported-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Tested-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Fixes: 9ba1cb25c1 ("scsi: qla2xxx: Remove all rports if fabric scan retry fails")
Link: https://lore.kernel.org/linux-scsi/D01377DD-2E86-427B-BA0C-8D7649E37870@oracle.com/T/#t
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-23 12:10:56 +02:00
..
2019-02-12 19:47:25 +01:00
2018-06-19 22:02:25 -04:00
2018-08-21 23:54:17 -04:00
2017-12-04 20:32:53 -05:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-05-18 12:03:51 -04:00
2015-11-09 16:32:14 -08:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2017-08-25 17:21:10 -04:00
2019-12-01 09:16:26 +01:00
2016-01-27 20:36:10 +08:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-04-13 13:58:20 -04:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2016-02-23 21:27:02 -05:00
2017-04-26 18:32:29 -04:00
2018-05-01 23:30:12 -04:00