All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: Boaz Harrosh <bharrosh@panasas.com>
Cc: linux-scsi@vger.kernel.org, Achim_Leubner@adaptec.com,
	jens.axboe@oracle.com
Subject: Re: [PATCH] gdth: scp timeout clean up
Date: Tue, 6 Nov 2007 08:18:26 -0800	[thread overview]
Message-ID: <20071106161826.GA1660@us.ibm.com> (raw)
In-Reply-To: <47301DA7.8000202@panasas.com>

Boaz Harrosh [bharrosh@panasas.com] wrote:
> > +static enum scsi_eh_timer_return gdth_timed_out(struct scsi_cmnd *scp)
> > +{
> > +	gdth_ha_str *ha = shost_priv(scp->device->host);
> > +	struct gdth_cmndinfo *cmndinfo = gdth_get_cmndinfo(ha);
> 
> a gdth_get_cmndinfo(ha) is for allocating a new cmndinfo out of free
> cmndinfo list, and must be paired by a call to gdth_put_cmndinfo(ha).
> And usually you want to put it on scp->host_scribble, other wise it will
> be lost. 
> To get the cmndinfo associated with a scsi_cmnd use gdth_cmnd_priv(scp) 

Thank you very much. It should be gdth_cmnd_priv(scp). I will fix it.

  reply	other threads:[~2007-11-06 16:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06  6:54 [PATCH] gdth: scp timeout clean up malahal
2007-11-06  7:54 ` Boaz Harrosh
2007-11-06 16:18   ` malahal [this message]
2007-11-06 22:34   ` [PATCH] gdth: scp timeout clean up (try #2) malahal
2007-11-07 13:22     ` Jens Axboe
2007-11-14  2:39       ` malahal
2007-12-03  1:53         ` [PATCH] blk request timeout minor fixes malahal
2007-12-03  2:49           ` Matthew Wilcox
2007-12-03 23:47             ` malahal
2007-12-04  9:00               ` Jens Axboe
2007-12-05 20:05                 ` malahal
2007-12-05 20:10                   ` Jens Axboe
2007-12-05 20:40                     ` malahal
2007-12-05 21:06       ` Another use for block-layer timeouts Matthew Wilcox
2007-11-07 17:35     ` [PATCH] gdth: scp timeout clean up (try #2) Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071106161826.GA1660@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=Achim_Leubner@adaptec.com \
    --cc=bharrosh@panasas.com \
    --cc=jens.axboe@oracle.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.