All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Fajun Chen <fajunchen@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Question about Scsi error handling/recovery
Date: Thu, 19 Oct 2006 10:50:53 +0900	[thread overview]
Message-ID: <4536D9FD.4050708@gmail.com> (raw)
In-Reply-To: <8202f4270610181711k7b15f81bw589f956f6e521988@mail.gmail.com>

Fajun Chen wrote:
> Hi,
> 
> I tested two SATA drives on the same controller (Sil3124) and found
> that if their hotplug/unplug sequences overlaps, scsi layer will block
> the use of any of the drives during error recovery phase.  So even if
> one drive is recovered way early, it won't process any commands until
> the error recovery  on another drive is completed.  Could someone
> explain why the block is on controller/host basis instead of on port
> basis? Is this because the controller could be reset during any error
> recovery?

I don't think that's true.  Each ATA port is represented as separate 
host to SCSI midlayer, so SCSI doesn't have any way to enforce such 
cross-port synchronization.  In fact, libata needs to implement such 
facility to properly implement transfer mode reconfiguration on several 
controllers.  What exactly are you seeing?

-- 
tejun

  reply	other threads:[~2006-10-19  1:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19  0:11 Question about Scsi error handling/recovery Fajun Chen
2006-10-19  1:50 ` Tejun Heo [this message]
2006-10-19 15:22   ` Fajun Chen
2006-10-20  8:10     ` 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=4536D9FD.4050708@gmail.com \
    --to=htejun@gmail.com \
    --cc=fajunchen@gmail.com \
    --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.