Russell Sloan wrote:
Russell Sloan wrote:
I'm using SG_IO and I'm curently passing in:
  sg_io_hdr_t.timeout = 5;

This should be a 5 ms timeout, correct? I've tried a few different values,
from 5 to 1000 and it still takes 90+ seconds for it to timeout and return to my program.
I will try HDIO and see if that behaves any differently.

It might be retrying.  Can you post dmesg after the command?


That command typically requires more than an hour to complete.
Using "hdparm -I" will (usually) report the minimum time required
for any specific drive.

-ml
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to