Patch "scsi: qla2xxx: Don't defer relogin unconditonally" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scsi: qla2xxx: Don't defer relogin unconditonally

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scsi-qla2xxx-don-t-defer-relogin-unconditonally.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit cb6654fa4596514d61d6350c5c32b12a445eabf4
Author: Roman Bolshakov <r.bolshakov@xxxxxxxxx>
Date:   Mon Nov 25 19:57:00 2019 +0300

    scsi: qla2xxx: Don't defer relogin unconditonally
    
    [ Upstream commit dabc5ec915f3a2c657ecfb529cd3d4ec303a4412 ]
    
    qla2x00_configure_local_loop sets RELOGIN_NEEDED bit and calls
    qla24xx_fcport_handle_login to perform the login. This bit triggers a wake
    up of DPC later after a successful login.
    
    The deferred call is not needed if login succeeds, and it's set in
    qla24xx_fcport_handle_login in case of errors, hence it should be safe to
    drop.
    
    Link: https://lore.kernel.org/r/20191125165702.1013-12-r.bolshakov@xxxxxxxxx
    Acked-by: Himanshu Madhani <hmadhani@xxxxxxxxxxx>
    Acked-by: Quinn Tran <qutran@xxxxxxxxxxx>
    Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
    Tested-by: Hannes Reinecke <hare@xxxxxxx>
    Signed-off-by: Roman Bolshakov <r.bolshakov@xxxxxxxxx>
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 4e424f1ce5de..80f276d67c14 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5045,7 +5045,6 @@ qla2x00_configure_local_loop(scsi_qla_host_t *vha)
 				memcpy(&ha->plogi_els_payld.data,
 				    (void *)ha->init_cb,
 				    sizeof(ha->plogi_els_payld.data));
-				set_bit(RELOGIN_NEEDED, &vha->dpc_flags);
 			} else {
 				ql_dbg(ql_dbg_init, vha, 0x00d1,
 				    "PLOGI ELS param read fail.\n");



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux