public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Jordan Breeding <jordan.breeding@attbi.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: scsi write barriers (ordered tags)?
Date: 05 Feb 2003 10:55:32 -0600	[thread overview]
Message-ID: <1044464134.1775.56.camel@mulgrave> (raw)
In-Reply-To: <3E413530.8060103@attbi.com>

On Wed, 2003-02-05 at 10:00, Jordan Breeding wrote:
> The part I am concerned with is his statement about SCSI being harder to 
> implement this on.  I guess this doesn't matter as much since my SCSI 
> drive with write back cache off is faster than any IDE drive I have used 
> with it on, but still it would be nice to be able to run both type of 
> drives with the write back cache on.  So my question is, are the things 
> Jens stated above about SCSI enough to keep this feature completely out 
> of 2.5.x even once IDE has the code merged, or will SCSI be able to have 
> this feature as well by 2.6?  Thanks for any info and/or speculation 
> about this.

There are two really significant differences between SCSI and IDE with
regard to barrier implementation (the basic one is that SCSI has a more
complex queueing model).

1) SCSI devices can have multiple simultaneously outstanding commands

2) Some SCSI devices (like high end arrays) have huge caches, so you
can't implement a barrier simply by flushing the cache, like IDE does,
because that might cause significant slow downs.

As Jens says, there are ways to do this, and we do have most of the
infrastructure in place.  However, we'd need different error recovery
behaviour for a complete solution, and no-one's done that work yet.

Finally, even if the error recovery work is done, drivers which use
internal issue queues would probably need modifying to do the right
thing on ordered tag error return (and that's quite a huge effort).

James



  reply	other threads:[~2003-02-05 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05 16:00 scsi write barriers (ordered tags)? Jordan Breeding
2003-02-05 16:55 ` James Bottomley [this message]
     [not found] <200302051809.NAA23237@orville.steeleye.com>
2003-02-05 20:24 ` James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2003-02-05 21:31 Cress, Andrew R
2003-02-05 21:57 berthiaume_wayne

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=1044464134.1775.56.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=jordan.breeding@attbi.com \
    --cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox