All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Bart Van Assche <bvanassche@acm.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 3/6] scsi: clean up S/G table freeing
Date: Thu, 20 Nov 2014 00:16:15 -0800	[thread overview]
Message-ID: <20141120081615.GA24412@infradead.org> (raw)
In-Reply-To: <loom.20141118T190348-558@post.gmane.org>

On Tue, Nov 18, 2014 at 06:14:30PM +0000, Bart Van Assche wrote:
> > -
> > -	memset(&cmd->sdb, 0, sizeof(cmd->sdb));
> > -
> > -	if (scsi_prot_sg_count(cmd))
> > -		scsi_free_sgtable(cmd->prot_sdb, false);
> > -}
> 
> Hello Christoph,
> 
> Since I'm traveling I'm using a laptop with a small screen so I might be
> missing some context information. What is not clear to me about this patch
> is whether it changes a scsi_free_sgtable(cmd->prot_sdb, false) call into a
> scsi_free_sgtable(cmd->prot_sdb, true) call for the non-mq path ?

It does, and that is a bug.  Thanks for catching it!


  reply	other threads:[~2014-11-20  8:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06  7:40 I/O path cleanup V2 Christoph Hellwig
2014-11-06  7:40 ` [PATCH 1/6] scsi: don't use scsi_next_command in scsi_reset_provider Christoph Hellwig
2014-11-06  8:18   ` Hannes Reinecke
2014-11-06  7:40 ` [PATCH 2/6] scsi: remove scsi_next_command Christoph Hellwig
2014-11-06  8:21   ` Hannes Reinecke
2014-11-06 15:34     ` Christoph Hellwig
2014-11-11 16:37       ` Christoph Hellwig
2014-11-11 19:02         ` Hannes Reinecke
2014-11-06  7:40 ` [PATCH 3/6] scsi: clean up S/G table freeing Christoph Hellwig
2014-11-06  8:23   ` Hannes Reinecke
2014-11-18 18:14   ` Bart Van Assche
2014-11-20  8:16     ` Christoph Hellwig [this message]
2014-11-06  7:40 ` [PATCH 4/6] scsi: stop passing a gfp_mask argument down the command setup path Christoph Hellwig
2014-11-06  8:24   ` Hannes Reinecke
2014-11-06  7:40 ` [PATCH 5/6] scsi: move scsi_dispatch_cmd to scsi_lib.c Christoph Hellwig
2014-11-06  8:25   ` Hannes Reinecke
2014-11-06  7:40 ` [PATCH 6/6] scsi: move more requeue handling into scsi_requeue_command Christoph Hellwig
2014-11-06  8:26   ` Hannes Reinecke

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=20141120081615.GA24412@infradead.org \
    --to=hch@infradead.org \
    --cc=bvanassche@acm.org \
    --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.