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

Hannes Reinecke hare at suse.de
Thu May 11 00:24:32 PDT 2017


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 at broadcom.com>
> Signed-off-by: James Smart <james.smart at 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 at suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare at 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)



More information about the Linux-nvme mailing list