diff options
author | James Smart <james.smart@emulex.com> | 2010-06-08 18:31:54 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:38 -0400 |
commit | d7c479929b6804f4e9d5fb5f721aba31622f3d97 (patch) | |
tree | e849efe2d961fd7e1a8d8c9410f6c68ab5a6c03c /drivers/scsi/lpfc/lpfc_hbadisc.c | |
parent | dbb6b3ab10464aa11df74c0d0a14e869a8c6fd1b (diff) |
[SCSI] lpfc 8.3.14: SCSI and SLI API fixes
- Fixed accounting of allocated SCSI buffers when post sgl fails.
- Restrict scsi buffer allocation based on LUN count (sdev_cnt).
- Create __lpfc_sli_free_rpi that doesn't take out the hbalock.
- Modify lpfc_sli_free_rpi to call __lpfc_sli_free_rpi.
- Call __lpfc_sli_free_rpi in lpfc_cleanup_pending_mbox.
- Do not swap the strings returned in mailbox commands and do
not swap byte aligned data in VPD.
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 7cd5c47a66ea..9fcad20491ef 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -3845,6 +3845,7 @@ lpfc_unreg_rpi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) | |||
3845 | mempool_free(mbox, phba->mbox_mem_pool); | 3845 | mempool_free(mbox, phba->mbox_mem_pool); |
3846 | } | 3846 | } |
3847 | lpfc_no_rpi(phba, ndlp); | 3847 | lpfc_no_rpi(phba, ndlp); |
3848 | |||
3848 | ndlp->nlp_rpi = 0; | 3849 | ndlp->nlp_rpi = 0; |
3849 | ndlp->nlp_flag &= ~NLP_RPI_VALID; | 3850 | ndlp->nlp_flag &= ~NLP_RPI_VALID; |
3850 | ndlp->nlp_flag &= ~NLP_NPR_ADISC; | 3851 | ndlp->nlp_flag &= ~NLP_NPR_ADISC; |