Re: SATA timeout value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux