public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Dan Aloni <da-x@monatomic.org>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	Linux Kernel List <linux-kernel@vger.kernel.org>,
	brking@us.ibm.com, dror@xiv.co.il
Subject: Re: [PATCH] scsi: properly count the number of pages in scsi_req_map_sg()
Date: Thu, 23 Mar 2006 14:52:03 +0000	[thread overview]
Message-ID: <20060323145203.GA13637@infradead.org> (raw)
In-Reply-To: <20060321161912.GA32051@localdomain>

On Tue, Mar 21, 2006 at 06:19:12PM +0200, Dan Aloni wrote:
> These scatterlists can be generated using the sg driver. Though I am
> actually running a customized version of the sg driver, it seems the 
> conversion from a userspace array of sg_iovec_t to scatterlist stays 
> the same and also applies to the original driver (see 
> st_map_user_pages()).

What kernel version did you reproduce this with?  Since 2.6.16 sg should
obey all request size/alingment limitations.  If not that's a bug in
scsi_execute_async and it's helpers and should be fixed there.

  parent reply	other threads:[~2006-03-23 14:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21  8:38 [PATCH] scsi: properly count the number of pages in scsi_req_map_sg() Dan Aloni
2006-03-21 15:54 ` James Bottomley
2006-03-21 16:19   ` Dan Aloni
2006-03-21 18:05     ` Bryan Holty
2006-03-21 19:17       ` Mike Christie
2006-03-21 20:48         ` Bryan Holty
2006-03-22 12:35           ` Bryan Holty
2006-05-26  6:13             ` Mike Christie
2006-05-26 13:23               ` Bryan Holty
2006-03-23 14:52     ` Christoph Hellwig [this message]
2006-03-23 16:51       ` Bryan Holty

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=20060323145203.GA13637@infradead.org \
    --to=hch@infradead.org \
    --cc=James.Bottomley@SteelEye.com \
    --cc=brking@us.ibm.com \
    --cc=da-x@monatomic.org \
    --cc=dror@xiv.co.il \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox