All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bfa: fix for FC Direct Attach LUN discovery failure
       [not found] <1366384368-17868-1-git-send-email-vmohan@brocade.com>
@ 2013-05-13  9:56 ` Vijay Mohan Guvva
  0 siblings, 0 replies; only message in thread
From: Vijay Mohan Guvva @ 2013-05-13  9:56 UTC (permalink / raw)
  To: jbottomley; +Cc: linux-scsi, Anil Gurumurthy, Vijay Mohan Guvva

Resending the patch as it didn't make the linux-scsi list.

This patch fixes fcs rport state machine to address ocassional Brocade
FC Direct Attach LUN discovery failure due to not sending PLOGI accept
to the target.

Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
---
 drivers/scsi/bfa/bfa_fcs_rport.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/bfa/bfa_fcs_rport.c b/drivers/scsi/bfa/bfa_fcs_rport.c
index 58ac643..610ca95 100644
--- a/drivers/scsi/bfa/bfa_fcs_rport.c
+++ b/drivers/scsi/bfa/bfa_fcs_rport.c
@@ -189,8 +189,8 @@ bfa_fcs_rport_sm_uninit(struct bfa_fcs_rport_s *rport, enum rport_event event)
 		break;
 
 	case RPSM_EVENT_PLOGI_RCVD:
-		bfa_sm_set_state(rport, bfa_fcs_rport_sm_fc4_fcs_online);
-		bfa_fcs_rport_fcs_online_action(rport);
+		bfa_sm_set_state(rport, bfa_fcs_rport_sm_plogiacc_sending);
+		bfa_fcs_rport_send_plogiacc(rport, NULL);
 		break;
 
 	case RPSM_EVENT_PLOGI_COMP:
-- 
1.8.2.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-13  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1366384368-17868-1-git-send-email-vmohan@brocade.com>
2013-05-13  9:56 ` [PATCH] bfa: fix for FC Direct Attach LUN discovery failure Vijay Mohan Guvva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.