diff options
author | Quinn Tran <[email protected]> | 2022-03-10 01:25:53 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-03-15 00:29:13 -0400 |
commit | 6a45c8e137d4e2c72eecf1ac7cf64f2fdfcead99 (patch) | |
tree | 488dddc718d0371b167aeb4f9b8f090e38cc504a /scripts/gdb/linux/mm.py | |
parent | 58ca5999e0367d131de82a75257fbfd5aed0195d (diff) |
scsi: qla2xxx: Fix disk failure to rediscover
User experienced some of the LUN failed to get rediscovered after long
cable pull test. The issue is triggered by a race condition between driver
setting session online state vs starting the LUN scan process at the same
time. Current code set the online state after notifying the session is
available. In this case, trigger to start the LUN scan process happened
before driver could set the session in online state. LUN scan ends up with
failure due to the session online check was failing.
Set the online state before reporting of the availability of the session.
Link: https://lore.kernel.org/r/[email protected]
Fixes: aecf043443d3 ("scsi: qla2xxx: Fix Remote port registration")
Cc: [email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions