linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bounce_sg and sg in mmc_queue
@ 2011-09-21 18:26 J Freyensee
  2011-09-22 16:35 ` J Freyensee
  0 siblings, 1 reply; 2+ messages in thread
From: J Freyensee @ 2011-09-21 18:26 UTC (permalink / raw)
  To: linux-mmc

Hello:

Could anyone tell me in struct mmc_queue, what is the difference between 
'struct scatterlist *bounce_sg' and 'struct scatterlist *sg' is?

I see 'bounce_sg' get used to copy data from/to the buffer upon a host 
read/write operation so I assume 'bounce_sg' points to the most recent 
data from a host controller read/write operation.

Thanks for the help.

-- 
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bounce_sg and sg in mmc_queue
  2011-09-21 18:26 bounce_sg and sg in mmc_queue J Freyensee
@ 2011-09-22 16:35 ` J Freyensee
  0 siblings, 0 replies; 2+ messages in thread
From: J Freyensee @ 2011-09-22 16:35 UTC (permalink / raw)
  To: linux-mmc

On 09/21/2011 11:26 AM, J Freyensee wrote:
> Hello:
>
> Could anyone tell me in struct mmc_queue, what is the difference between
> 'struct scatterlist *bounce_sg' and 'struct scatterlist *sg' is?
>
> I see 'bounce_sg' get used to copy data from/to the buffer upon a host
> read/write operation so I assume 'bounce_sg' points to the most recent
> data from a host controller read/write operation.
>

If someone actually knows this, I will send up a patch documenting this 
in the code.  I think some of the mmc code could use a little 
documentation??

> Thanks for the help.
>


-- 
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-22 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 18:26 bounce_sg and sg in mmc_queue J Freyensee
2011-09-22 16:35 ` J Freyensee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).