> > | I am unable to figure out how the read,write
> requests
> > | that are in the form of [sector, size] in the
> VFS
> > | layer are passed into urb structure before
> calling
> > | usb_submit_urb(). My understanding is at the
> lowest
> > | level a call to usb_submit_urb() is required to
> > | perform a read/write operation. Does the
> mtdblock do
> > | the conversion ? 
> > 
> >  Can't you use usbmon?
> 
> This is probably too low level. Jens Axboe has a
> block level tracing
> facility which seems like a better fit. I forgot how
> it's called though.
> Maybe "blktrace" or "blocktrace".
> 
> -- Pete
> 
I looked at blktrace. It can trace block level
requests generated by different processes. I think
blktrace might not be suitable to trace usb-flash
requests. The requests are in terms of [block number,
size]. What I need is [request_type (R/W), size,
logical address (sector number)] being issued to the
usb-flash storage device. My guess is block number is 
being converted to logical address (sector number) as
a request reaches device driver (i.e., lower level) ?

thanks,
-siddharth 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to