All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Michael Schmitz <schmitzmic@gmail.com>
Cc: linux-scsi@vger.kernel.org, jejb@linux.ibm.com,
	martin.petersen@oracle.com, schmitz@debian.org,
	Finn Thain <fthain@telegraphics.com.au>
Subject: Re: [PATCH] scsi: scsi-lib.c: increase cmd_size by sizeof(struct scatterlist)
Date: Wed, 06 Nov 2019 00:46:37 -0500	[thread overview]
Message-ID: <yq1h83h1rr6.fsf@oracle.com> (raw)
In-Reply-To: <1572922150-4358-1-git-send-email-schmitzmic@gmail.com> (Michael Schmitz's message of "Tue, 5 Nov 2019 15:49:10 +1300")


Michael,

> In scsi_mq_setup_tags(), cmd_size is calculated based on zero size
> for the scatter-gather list in case the low level driver uses SG_NONE
> in its host template.

Applied to 5.4/scsi-fixes. I picked your version since it is small.

I still intend to queue Finn's SG_NONE cleanups for 5.5. In a way these
are orthogonal.

Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

  parent reply	other threads:[~2019-11-06  5:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02  1:06 [PATCH 0/2] SG_NONE fix and cleanup Finn Thain
2019-11-02  1:06 ` [PATCH 1/2] atari_scsi, sun3_scsi: Set sg_tablesize to 1 instead of SG_NONE Finn Thain
2019-11-02  1:06 ` [PATCH 2/2] scsi: Clean up SG_NONE Finn Thain
2019-11-05  2:49 ` [PATCH] scsi: scsi-lib.c: increase cmd_size by sizeof(struct scatterlist) Michael Schmitz
2019-11-05  5:54   ` Finn Thain
2019-11-06  5:46   ` Martin K. Petersen [this message]
2019-11-06  7:21     ` Michael Schmitz
2019-11-13  3:12 ` [PATCH 0/2] SG_NONE fix and cleanup Martin K. Petersen

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=yq1h83h1rr6.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=fthain@telegraphics.com.au \
    --cc=jejb@linux.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=schmitz@debian.org \
    --cc=schmitzmic@gmail.com \
    /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.