Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: AlanCui4080 <me@alancui.cc>
Cc: linux-ide@vger.kernel.org
Subject: Re: Default IDENTIFY timeout is 5000ms which is too short for enterprise disks
Date: Thu, 23 Apr 2026 18:17:15 +0200	[thread overview]
Message-ID: <aepGCyy5uXXxw6jT@ryzen> (raw)
In-Reply-To: <p9jLdz6RRGKjgu3OloMgWw@alancui.cc>

Hello Alan,

On Thu, Apr 23, 2026 at 10:26:55PM +0800, AlanCui4080 wrote:
> Thank you for your really really detailed response. And i was surprised by your
> reply, hopefully that doesn't cost your time too much.

My pleasure :)


> I'm not a native speaker so the actually question that i want to ask is that
> will kernel do quirk for those drives so let it just don't fail to avoid costing
> extra 5 seconds and producing annoying erros on console?

Well, considering that the controller does not send a reply when it is
supposed to, I think that the error in the log is justified.


You also wrote that:
> I enlong the timeout, then this problem is being "relaxed", during 10
> recoveries, only 2 times the revalidation failed.

So as far as I can tell, even increasing the timeout does not solve the
problem in all cases.

So, right now, I can't even think of a way to quirk the device so that it
works reliably.


> > But as soon as you get a shell after a system resume, the above command
> > succeeds, right?
> 
> Yes, that's correct.

Great!


> > My suggestion is to look at the zpool code to see how long it waits to finds
> > all devices after a system resume before it kicks devices off the RAID array.
> > 
> > My initial feeling is that if your device is ready after 5 seconds after a
> > system resume, then the timeout value for zpool to kick off a device must be
> > very low.
> 
> I do believe that's about zpool, i migrated it into btrfs RAID now, it works very
> well. And if you want to know, the timeout of TXG to commit is 5000ms also.

Nice to hear that you are not seeing the same issue with btrfs.


Kind regards,
Niklas

  reply	other threads:[~2026-04-23 16:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 10:21 Default IDENTIFY timeout is 5000ms which is too short for enterprise disks AlanCui4080
2026-04-09 11:55 ` Damien Le Moal
2026-04-09 12:01 ` Damien Le Moal
2026-04-15 12:40   ` Niklas Cassel
2026-04-16 12:59     ` AlanCui4080
2026-04-20 16:27       ` Niklas Cassel
2026-04-23  9:18         ` AlanCui4080
2026-04-23 11:15           ` Niklas Cassel
2026-04-23 14:26             ` AlanCui4080
2026-04-23 16:17               ` Niklas Cassel [this message]
2026-05-08 20:48                 ` AlanCui4080
     [not found] ` <14062658.dW097sEU6C@alanarchdesktop>
     [not found]   ` <4482b737-1454-48cb-a941-165aa84fb2eb@kernel.org>
2026-04-10 11:24     ` AlanCui4080
2026-04-10 12:14       ` AlanCui4080

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=aepGCyy5uXXxw6jT@ryzen \
    --to=cassel@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=me@alancui.cc \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox