All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Russell Sloan <russell.sloan@lingua-data.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: SATA timeout value
Date: Mon, 23 Apr 2007 15:59:44 +0900	[thread overview]
Message-ID: <462C5960.1030005@gmail.com> (raw)
In-Reply-To: <23734110.128641177197843579.JavaMail.servlet@perfora>

Russell Sloan wrote:
> Hi everyone,
> 
> Can someone point me to the area in the SATA code that is responsible
> for timing out while checking on a drive connection?
> 
> I have a drive that shuts its SATA interface down while it is doing a
> Security Erase, and then powers back up when it's done.  When I poll
> the drive asking for its status during the Erase, it is "not there"
> but the driver takes quite a while to report back.  I'd like to
> reduce the time that the driver spends checking for the drive.

What tool do you use to issue the query?  If the program uses SG_IO, the
timeout is specified by the program.  If it uses something else (one of
HDIO ioctls), timeouts are hardcoded in the ioctl functions in
libata-scsi.c - currently 10secs.

-- 
tejun

  reply	other threads:[~2007-04-23  7:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-21 23:24 SATA timeout value Russell Sloan
2007-04-23  6:59 ` Tejun Heo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-23 15:11 Russell Sloan
2007-04-23 15:50 ` Tejun Heo
2007-04-23 16:46 Russell Sloan
2007-04-23 22:07 ` Mark Lord
2007-04-24  8:25 ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=462C5960.1030005@gmail.com \
    --to=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=russell.sloan@lingua-data.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.