]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: libfc: Issue PRLI after a PRLO has been received
authorHannes Reinecke <hare@suse.de>
Fri, 5 Aug 2016 12:55:00 +0000 (14:55 +0200)
committerBrian Maly <brian.maly@oracle.com>
Mon, 21 May 2018 21:57:25 +0000 (17:57 -0400)
commit624577b8c92db3cbb4e0f8868a4c547ce5f28581
treeb36a533a462c0d35a6fad35f35d9fc720a3672a4
parentedbb04f1a2d9dedd490870d9ad2f95fd92caea31
scsi: libfc: Issue PRLI after a PRLO has been received

When receiving a PRLO it just means that the operating parameters have
changed, it does _not_ mean that the port doesn't want to communicate
with us.  So instead of implicitly logging out we should be issueing a
PRLI to figure out the new operating parameters.  We can always recover
once PRLI fails.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Chad Dupuis <chad.dupuis@qlogic.com>
Tested-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
OraBug: 27363267
(cherry picked from commit 166f310b629c046b7f5ca846adf978cda47b06c2)
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Fred Herard <fred.herard@oracle.com>
Signed-off-by: Rajan Shanmugavelu <rajan.shanmugavelu@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/libfc/fc_rport.c