From: Doug Chapman <doug.chapman@hp.com>
To: eric.moore@lsi.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] fix for BZ 8426 - massive slowdown on SCSI CD/DVD drive connected to mptspi driver
Date: Tue, 22 May 2007 14:25:10 -0600 [thread overview]
Message-ID: <1179865510.5479.17.camel@phobos> (raw)
In-Reply-To: <1178567987.27671.20.camel@deimos.americas.hpqcorp.net>
Eric,
Sorry to bother you on this again, I realize you are very busy.
>From our off-list email and from your comments to Chip Coldwell in
redhat BZ 225177 it sounded like you were prepared to ACK this. Any
chance you could send your official ACK so this can be committed?
much appreciated,
- Doug
On Mon, 2007-05-07 at 15:59 -0400, Doug Chapman wrote:
> Patch for: http://bugzilla.kernel.org/show_bug.cgi?id=8426
>
> A recent code cleanup that moved code from mptscsih to mptspi
> inadvertently change the order some code was called. This caused
> a massive slowdown (of 150x to 300x) on the CD/DVD drive on the
> high-end HP Integrity servers.
>
> Signed-off-by: Doug Chapman <doug.chapman@hp.com>
>
>
>
>
> diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c
> index 85f21b5..2eb5741 100644
> --- a/drivers/message/fusion/mptspi.c
> +++ b/drivers/message/fusion/mptspi.c
> @@ -726,13 +726,15 @@ static int mptspi_slave_configure(struct scsi_device *sdev)
> struct _MPT_SCSI_HOST *hd =
> (struct _MPT_SCSI_HOST *)sdev->host->hostdata;
> VirtTarget *vtarget = scsi_target(sdev)->hostdata;
> - int ret = mptscsih_slave_configure(sdev);
> + int ret;
> +
> + mptspi_initTarget(hd, vtarget, sdev);
> +
> + ret = mptscsih_slave_configure(sdev);
>
> if (ret)
> return ret;
>
> - mptspi_initTarget(hd, vtarget, sdev);
> -
> ddvprintk((MYIOC_s_INFO_FMT "id=%d min_period=0x%02x"
> " max_offset=0x%02x max_width=%d\n", hd->ioc->name,
> sdev->id, spi_min_period(scsi_target(sdev)),
>
>
next prev parent reply other threads:[~2007-05-22 20:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-07 19:59 [PATCH] fix for BZ 8426 - massive slowdown on SCSI CD/DVD drive connected to mptspi driver Doug Chapman
2007-05-10 13:30 ` Doug Chapman
2007-05-22 20:25 ` Doug Chapman [this message]
2007-05-22 21:27 ` James Bottomley
2007-05-29 21:40 ` [PATCH] fix for BZ 8426 - massive slowdown on SCSI CD/DVDdrive " Moore, Eric
2007-05-29 22:02 ` James Bottomley
2007-05-29 22:46 ` [PATCH] fix for BZ 8426 - massive slowdown on SCSI CD/DVDdriveconnected " Moore, Eric
2007-05-31 15:40 ` Moore, Eric
2007-05-31 16:14 ` James Bottomley
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=1179865510.5479.17.camel@phobos \
--to=doug.chapman@hp.com \
--cc=eric.moore@lsi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox