]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Fix same RPI registered multiple times after HBA reset (CR 127176)
authorVaios Papadimitriou <vaios.papadimitriou@emulex.com>
Tue, 8 May 2012 22:01:26 +0000 (17:01 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:01:26 +0000 (17:01 -0700)
commit7cc74e7cc757ed635372e067e09796245c30264f
treef3118f81412b2c1e6a98126370be1a28e7d2a3ff
parent3facd3c2d70c65ea1b2dfdad3d8994d17d64a6b3
Fix same RPI registered multiple times after HBA reset (CR 127176)

After HBA reset I/Os never complete and system eventually hangs, this is
because the BE adapters need to have RPI headers reposted before rpis can be
assigned to NDLPs. By moving the call to lpfc_sli4_node_prep to be after the
call to post_all_rpi headers this posts the headers before the rpis are
assigned.

commit id: 97f2ecf1f401d689d4036f64c244fad3b39e5e0a

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c