All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Mark Lord <liml@rtr.ca>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	IDE/ATA development list <linux-ide@vger.kernel.org>,
	Alan Cox <alan@redhat.com>
Subject: Re: ata_std_qc_defer not good enough for FIS-based switching ?
Date: Wed, 14 May 2008 23:11:46 +0900	[thread overview]
Message-ID: <482AF322.2090605@gmail.com> (raw)
In-Reply-To: <4816873C.7090302@rtr.ca>

Mark Lord wrote:
> Tejun Heo wrote:
>> Mark Lord wrote:
>>> Mmm.. I just plugged the same PM + drives into my sata_sil24 card here,
>>> and that driver went bonkers when I did the same test.
>>>
>>> Had to reboot eventually to recover.
>>
>> Hmm... That can't be.  Above all, although we do manual scheduling 
>> around sil24, the controller does its own scheduling and will happily 
>> issue command in the right order even if the software scheduler screws 
>> up.  Do you have the log?
> ..
> 
> Here's what was in /var/log/messages after I held the power button
> for five seconds to force a poweroff and then rebooted.  I didn't make much
> effort to learn more, as I'm already busy enough testing/debugging sata_mv.

Hmmm... Have been testing NCQ + non-NCQ heavy load test w/ deadline 
scheduler for 30+ mins now and there's no problem at all.  I'm pretty 
sure sata_sil24 can handle mixed (across different drives) NCQ + non-NCQ 
workload okay.

One catch w/ sata_sil24 is that it has something called PMP DMA CS 
errata which means that all context is lost if any error (including a 
device one) occurs during commands are pending to more than two devices 
behind a port, the controller's state gets completely corrupt, so when 
something goes wrong while lots of commands are pending via PMP, it's 
often impossible what exactly went wrong.

sil4726/3726 also has a quirk.  It has configuration device as the last 
device and issuing random IOs it might cause unpredictable results.  So, 
can you please re-try the test excluding the pseudo config device?

Thanks.

-- 
tejun

  reply	other threads:[~2008-05-14 14:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 21:06 ata_std_qc_defer not good enough for FIS-based switching ? Mark Lord
2008-04-28 22:08 ` Mark Lord
2008-04-28 23:11   ` Tejun Heo
2008-04-28 23:42     ` Mark Lord
2008-04-29  1:18       ` Tejun Heo
2008-04-29  2:26         ` Mark Lord
2008-05-14 14:11           ` Tejun Heo [this message]
2008-05-14 14:45             ` Mark Lord
2008-05-14 14:53               ` Mark Lord
2008-05-14 15:50                 ` Mark Lord
2008-05-14 15:59                   ` Mark Lord
2008-05-15  7:12                     ` Tejun Heo
2008-05-15  6:51                 ` Tejun Heo
2008-04-29 17:09     ` Mark Lord
2008-04-29 17:17       ` Mark Lord
2008-04-30  9:38       ` Tejun Heo
2008-04-30 14:02       ` Mark Lord

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=482AF322.2090605@gmail.com \
    --to=htejun@gmail.com \
    --cc=alan@redhat.com \
    --cc=jgarzik@pobox.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    /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.