Re: SATA timeout value

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

 



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?

-- 
tejun


Yes, it looks like it's trying very hard to talk to the drive (which is a good thing under normal circumstances), but the drive isn't there anymore.  It's SATA hardware is powered down at this point.  It doesn't sound like the right way of doing things, but it's the behavior of the drive I'm working with.  

I actually have a 5-disk RAID that I'm working with, 3 connected directly to a SiI 3124 and two behind a 4726 PMP.  The messages for the 3 direct connects are the same.  I see similar activity for the 3 PMP drives.  

Attached is a text file with a complete listing of the activity for each of the 5 drives after the command is issued to each.

Thanks!
-Russell

Attachment: sata.txt
Description: Binary data


[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