From: J Freyensee <james_p_freyensee@linux.intel.com>
To: linux-mmc@vger.kernel.org
Subject: question regarding blk_rq_pos() calls in block.c
Date: Mon, 01 Aug 2011 13:44:16 -0700 [thread overview]
Message-ID: <4E371020.4050100@linux.intel.com> (raw)
In the driver block.c there is this line:
do {
struct mmc_command cmd;
u32 readcmd, writecmd, status = 0;
memset(&brq, 0, sizeof(struct mmc_blk_request));
brq.mrq.cmd = &brq.cmd;
brq.mrq.data = &brq.data;
// THIS LINE
brq.cmd.arg = blk_rq_pos(req);
I saw the sector number is a 64 bit number, so can the sector be
considered a 'unique number', kind of like a unique address?
I don't see block.c actually using an address to set up a queue request
read/write; rather, just sector, block size, command, and # of sectors.
That is why I was wondering.
Thanks for the help and insight.
--
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation
reply other threads:[~2011-08-01 20:44 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=4E371020.4050100@linux.intel.com \
--to=james_p_freyensee@linux.intel.com \
--cc=linux-mmc@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