On 12/09/2017 02:18 AM, James Smart wrote: > The driver is all set to handle the defer_rcv api for the > nvmet_fc transport, yet didn't properly recognize the return > status when the defer_rcv occurred. The driver treated it simply > as an error and aborted the io. Several residual issues occurred > at that point. > > Finish the defer_rcv support: recognize the return status when > the io request is being handled in a deferred style. This stops > the rogue aborts; Replenish the async cmd rcv buffer in the > deferred receive if needed. > > Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx> > Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx> > --- > drivers/scsi/lpfc/lpfc_nvmet.c | 24 ++++++++++++++++++++++-- > drivers/scsi/lpfc/lpfc_nvmet.h | 1 + > drivers/scsi/lpfc/lpfc_sli.c | 24 +++++++++++++----------- > 3 files changed, 36 insertions(+), 13 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +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)