linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* generic_make_request fucntion for scsi_disk
@ 2009-06-20 14:05 Ravish Tayal
  2009-06-20 14:20 ` James Bottomley
       [not found] ` <e42309110906200705j6a731ecay204969f639af5330-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Ravish Tayal @ 2009-06-20 14:05 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel, linux-scsi, linux-usb

Hello,

I am debugging Filesystem code for USB mass storage devices.  I need
help to figure out after generic_make_request how the request is
placed to scsi disk (sd) requeset queue and than how sd qeueuecommand
to usb_storeage thread.  (in which context, is it system call context)


inside generic_make_request

1.   q = bdev_get_queue(bio->bi_bdev);  [is sd.c register queue this
queue or any other scsi file?]
2.     ret = q->make_request_fn(q, bio);  [which file contain this
make_request_fn for scsi disk driver (generic)]

As per my unsderanding flow is like
Fat_writepage ->_block_write_full_page --> blkdev_writepage-->
block_write_full_page-->submit_bh-->generic_make_request ???  (sd ??)
----> queuecommand

Please suggest any sorce file, link or document.

with thanks
Ravish

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

end of thread, other threads:[~2009-06-20 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <e42309110906200746u441b82acvec4e3e513253af0@mail.gmail.com>
2009-06-20 14:56 ` generic_make_request fucntion for scsi_disk Alan Stern
2009-06-20 15:33   ` Ravish Tayal
2009-06-20 14:05 Ravish Tayal
2009-06-20 14:20 ` James Bottomley
     [not found]   ` <e42309110906200741x28595685jf56cd505d01cc795@mail.gmail.com>
2009-06-20 14:53     ` James Bottomley
     [not found] ` <e42309110906200705j6a731ecay204969f639af5330-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-20 14:39   ` Alan Stern

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).