> > If you want to get this information, you're probably > better off getting it > at the point where it is sent to the device, not at > the points where the > conversions are made. For example, take a look at > sd_init_command() in > drivers/scsi/sd.c. > Thanks. I put printk() in sd_init_command() to output block(rq->sector) and count(Scpnt->request_bufflen >> 9). Now, I can see the [read/write, block, count] as I start some file I/O activity on a mounted usb flash disk (moutned as vfat). I have two questions however. (I hope this is not off-topic):
1. The value of block is multiple of 4 most of the times. Is there a reason for this ? 2. What does the count signify ? For example does block = X, count = 8 imply that blocks X, X+1, ... , X+7 are being written/read ? 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
