USB IDE Connector
Hi,
I have an external IDE connector through USB port. Where could I get the exact point inside the kernel, from where I would get information such as Block No., Request size, partition details for a particular request, _just_ before being sent to the disk.
Like, for a normal IDE, I could gather these details from inside the function __ide_do_rw_disk from "struct request". Is there anyway for finding out the same for a USB mass storage device?
Thanks.
Quoted 10 lines · Sumit Narayan
Hi,
I have an external IDE connector through USB port. Where could I get the exact point inside the kernel, from where I would get information such as Block No., Request size, partition details for a particular request, _just_ before being sent to the disk.
Like, for a normal IDE, I could gather these details from inside the function
__ide_do_rw_diskfrom "struct request". Is there anyway for finding out the same for a USB mass storage device?
Why would you want to know this information for a controller device that acts like a scsi one, not an IDE one (that's what usb storage devices do...)
thanks,
greg k-h
Well, basically I would like to test the file system. And since I travel I lot, I carry laptop and this external disk with me. So, was just wondering if I could somehow conduct a disk-level test.
Thanks.
Quoted 20 lines · Greg KH
Quoted 10 lines · Sumit Narayan
Hi,
I have an external IDE connector through USB port. Where could I get the exact point inside the kernel, from where I would get information such as Block No., Request size, partition details for a particular request, _just_ before being sent to the disk.
Like, for a normal IDE, I could gather these details from inside the function
__ide_do_rw_diskfrom "struct request". Is there anyway for finding out the same for a USB mass storage device?Why would you want to know this information for a controller device that acts like a scsi one, not an IDE one (that's what usb storage devices do...)
thanks,
greg k-h