From: Doug Ledford <dledford@redhat.com>
To: Jianyong Zhang <jzhang@cse.psu.edu>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Is sector no. related to partitions in scsi drivers?
Date: Wed, 28 Aug 2002 21:44:59 -0400 [thread overview]
Message-ID: <20020828214459.B31167@redhat.com> (raw)
In-Reply-To: <Pine.SOL.4.33.0208282057580.23561-100000@frack.cse.psu.edu>; from jzhang@cse.psu.edu on Wed, Aug 28, 2002 at 09:06:38PM -0400
On Wed, Aug 28, 2002 at 09:06:38PM -0400, Jianyong Zhang wrote:
>
> I'm wonder where this request's sector number will be converted to one
> related to the whole disk. Is it done by the firmware of controller?
No. The aic7xxx driver couldn't care less what the sector number in the
request item is. The sd.c code handles converting request struct items to
physical sectors on the disk and then encodes the physical sector number
directly into the actual scsi command that it builds. The scsi command is
then sent to the device by the aic7xxx driver and the aic7xxx driver never
even bothers to look and see what sector the command is going to (it
doesn't need to).
--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
prev parent reply other threads:[~2002-08-29 1:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-29 1:06 Is sector no. related to partitions in scsi drivers? Jianyong Zhang
2002-08-29 1:44 ` Doug Ledford [this message]
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=20020828214459.B31167@redhat.com \
--to=dledford@redhat.com \
--cc=jzhang@cse.psu.edu \
--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.