Vasu Dev wrote:
> @@ -410,16 +449,19 @@ static void fc_exch_timeout(unsigned long ep_arg)
>               if (e_stat & ESB_ST_REC_QUAL)
>                       fc_exch_rrq(ep);
>               goto done;
> -     } else if (!(e_stat & ESB_ST_ABNORMAL)) {
> -             resp = ep->resp;
> -             arg = ep->resp_arg;
> +     } else if (ep->fh_type != FC_TYPE_FCP) {

I do not think this works because srr is type FCP isn't it?. If that 
times out we probably want to want to handle it. Currently we possibly 
retry the rec and then if that fails send an abort for the scsi command. 
Not sure how handy the retries are, but at the very lest we need to call 
exch_done on the srr ep, and we need to release the hold on the scsi 
command's fsp.
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to