Re: [PATCH 09/15] lpfc: Added recovery logic for running out of NVMET IO context resources

Hannes Reinecke
2017-05-11T07:24:35Z

On 05/10/2017 09:07 PM, James Smart wrote:
> Previous logic would just drop the IO
>
> Added logic to queue the IO to wait for an IO context resource from an IO
> thats already in progress.
>
> Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
> Signed-off-by: James Smart <james.smart@broadcom.com>
> ---
> drivers/scsi/lpfc/lpfc.h | 1 +
> drivers/scsi/lpfc/lpfc_attr.c | 6 ++
> drivers/scsi/lpfc/lpfc_crtn.h | 2 +
> drivers/scsi/lpfc/lpfc_debugfs.c | 6 ++
> drivers/scsi/lpfc/lpfc_init.c | 2 +
> drivers/scsi/lpfc/lpfc_nvmet.c | 138 +++++++++++++++++++++++++++++++++------
> drivers/scsi/lpfc/lpfc_sli.c | 7 +-
> drivers/scsi/lpfc/lpfc_sli4.h | 6 +-
> 8 files changed, 144 insertions(+), 24 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)