public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Vitaly Bordug <vitb@kernel.crashing.org>
To: "Desai, Kashyap" <Kashyap.Desai@lsi.com>
Cc: "Moore, Eric" <Eric.Moore@lsi.com>,
	DL-MPT Fusion Linux <DL-MPTFusionLinux@lsi.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] mptsas: fix dma alignment
Date: Mon, 7 Sep 2009 17:45:38 +0400	[thread overview]
Message-ID: <20090907174538.67c7cedd@vitb-lp> (raw)
In-Reply-To: <0D1E8821739E724A86F4D16902CE275C1C8EAE0A19@inbmail01.lsi.com>

В Mon, 7 Sep 2009 16:42:54 +0530
"Desai, Kashyap" <Kashyap.Desai@lsi.com> пишет:

> Can you send an exact link for "465ff.. commit"?
> 
Sure, 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=465ff3185e0cb76d46137335a4d21d0d9d3ac8a2

> Thanks,
> Kashyap
> 
> -----Original Message-----
> From: Vitaly Bordug [mailto:vitb@kernel.crashing.org] 
> Sent: Wednesday, September 02, 2009 2:34 AM
> To: Moore, Eric
> Cc: DL-MPT Fusion Linux; linux-scsi@vger.kernel.org
> Subject: [PATCH] mptsas: fix dma alignment
> 
> 
> From: Yuri Tikhonov <yur@emcraft.com>
> 
> fusion mptsas: fix dma alignment
> 
>      Since the 465ff.. commit from James Bottomley relaxes the default
>      SCSI DMA alignment from 512 bytes to 4 bytes, then, in the mptsas
>      driver, we should explicitly set the alignment to the workable
>      512 bytes value.
> 
>     Signed-off-by: Ilya Yanok <yanok@emcraft.com>
>     Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
>     Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
>     Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
> ---
> 
>  drivers/message/fusion/mptsas.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/drivers/message/fusion/mptsas.c
> b/drivers/message/fusion/mptsas.c index 55ff252..2334f26 100644
> --- a/drivers/message/fusion/mptsas.c
> +++ b/drivers/message/fusion/mptsas.c
> @@ -1843,6 +1843,7 @@ mptsas_slave_alloc(struct scsi_device *sdev)
>  	return -ENXIO;
>  
>   out:
> +	blk_queue_update_dma_alignment(sdev->request_queue, 511);
>  	vdevice->vtarget->num_luns++;
>  	sdev->hostdata = vdevice;
>  	return 0;
--
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

  reply	other threads:[~2009-09-07 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-01 21:03 [PATCH] mptsas: fix dma alignment Vitaly Bordug
2009-09-07 11:12 ` Desai, Kashyap
2009-09-07 13:45   ` Vitaly Bordug [this message]
2009-09-08  8:19     ` Desai, Kashyap
2009-09-08 14:22       ` James Bottomley
2009-09-08 16:19         ` Moore, Eric

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=20090907174538.67c7cedd@vitb-lp \
    --to=vitb@kernel.crashing.org \
    --cc=DL-MPTFusionLinux@lsi.com \
    --cc=Eric.Moore@lsi.com \
    --cc=Kashyap.Desai@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