From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: linux1394-devel@lists.sourceforge.net, linux-scsi@vger.kernel.org
Subject: on patch "[SCSI] relax scsi dma alignment"
Date: Sat, 26 Jan 2008 19:49:07 +0100 [thread overview]
Message-ID: <479B80A3.5070207@s5r6.in-berlin.de> (raw)
On commit 465ff3185e0cb76d46137335a4d21d0d9d3ac8a2:
> This patch relaxes the default SCSI DMA alignment from 512 bytes to 4
> bytes. I remember from previous discussions that usb and firewire have
> sector size alignment requirements, so I upped their alignments in the
> respective slave allocs.
[...]
> drivers/ata/libata-scsi.c | 5 ++++-
> drivers/firewire/fw-sbp2.c | 6 ++++++
> drivers/ieee1394/sbp2.c | 6 ++++++
> drivers/scsi/scsi_lib.c | 8 ++++++++
> drivers/usb/storage/scsiglue.c | 20 ++++++++++----------
> 5 files changed, 34 insertions(+), 11 deletions(-)
No, FireWire only requires 4 bytes alignment.
I will channel a reversion of the firewire and ieee1394 hunks through
linux1394-2.6.git for 2.6.26.
--
Stefan Richter
-=====-==--- ---= ==-=-
http://arcgraph.de/sr/
next reply other threads:[~2008-01-26 18:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 18:49 Stefan Richter [this message]
2008-01-26 18:54 ` on patch "[SCSI] relax scsi dma alignment" James Bottomley
2008-01-27 21:31 ` [PATCH 2.6.24-git3] firewire: fw-sbp2: relax SCSI DMA alignment Stefan Richter
2008-01-27 21:32 ` [PATCH 2.6.24-git3] ieee1394: sbp2: " Stefan Richter
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=479B80A3.5070207@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
/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