From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH v4 05/43] hpsa: decrement h->commands_outstanding in fail_all_outstanding_cmds Date: Fri, 17 Apr 2015 15:00:17 +0200 Message-ID: <553103E1.6020108@suse.de> References: <20150416134224.30238.66082.stgit@brunhilda> <20150416134709.30238.38976.stgit@brunhilda> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:58941 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752515AbbDQNAS (ORCPT ); Fri, 17 Apr 2015 09:00:18 -0400 In-Reply-To: <20150416134709.30238.38976.stgit@brunhilda> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Don Brace , scott.teel@pmcs.com, Kevin.Barnett@pmcs.com, james.bottomley@parallels.com, hch@infradead.org, Justin.Lindley@pmcs.combrace@pmcs.com Cc: linux-scsi@vger.kernel.org On 04/16/2015 03:47 PM, Don Brace wrote: > From: Stephen Cameron >=20 > make tracking of outstanding commands more robust >=20 > Reviewed-by: Scott Teel > Reviewed-by: Kevin Barnett > Signed-off-by: Don Brace > --- > drivers/scsi/hpsa.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c > index 2ac700b..6ee92af 100644 > --- a/drivers/scsi/hpsa.c > +++ b/drivers/scsi/hpsa.c > @@ -6918,6 +6918,7 @@ static void fail_all_outstanding_cmds(struct ct= lr_info *h) > if (refcount > 1) { > c->err_info->CommandStatus =3D CMD_CTLR_LOCKUP; > finish_cmd(c); > + atomic_dec(&h->commands_outstanding); > failcount++; > } > cmd_free(h, c); >=20 > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi"= in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >=20 Reviewed-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg GF: F. Imend=C3=B6rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N=C3=BCrnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html