All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luben Tuikov <luben@splentec.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: sector size, scsi_malloc(), sglist and queuecommand()?
Date: Fri, 14 Jun 2002 15:24:17 -0400	[thread overview]
Message-ID: <3D0A42E1.D0EC574B@splentec.com> (raw)

scsi_malloc() allocates with granularity of 512 bytes.

What happens when the device sector size is larger than 512?
i.e.
What is the size of a single scatterlist->length before it
is passed to queuecommand()?
I suppose a mutiple of the device sector size, which in turn
should be a mutiple of 512...

What happens when the request size is _not_ a multiple of 512.

Thanks,
-- 
Luben

                 reply	other threads:[~2002-06-14 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3D0A42E1.D0EC574B@splentec.com \
    --to=luben@splentec.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 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.