public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jordan Breeding <jordan.breeding@attbi.com>
To: linux-scsi@vger.kernel.org
Subject: scsi write barriers (ordered tags)?
Date: Wed, 05 Feb 2003 10:00:48 -0600	[thread overview]
Message-ID: <3E413530.8060103@attbi.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]

Today regarding his message about ide write barriers I got the following 
message:

Jens Axboe wrote:
> On Wed, Feb 05 2003, Jordan Breeding wrote:
> 
>>Jens Axboe wrote:
>>
>>>Hi,
>>>
>>>The attached patch implements write barrier operations in the block
>>>layer and for IDE, specifically. The goal is to make the use of write
>>>back cache enabled ide drives safe with journalled file systems.
>>>
>>>Patch is against 2.4.21-pre4-bk as of today, and includes a small patch
>>>to enable it on ext3. Chris has a patch for reiserfs as well.
>>>
>>
>>Does the above mean that the patch only works for IDE and not for SCSI? 
> 
> 
> The above is just for IDE.
> 
> 
>> If so when will SCSI be able to use write back cache safely?  Also, 
> 
> 
> Hmmm well, it's simple enough to make the low level driver generate an
> ordered tag when appropriate, but it's very tricky to make sure that no
> re-ordering takes place in case of errors, timeouts, etc.
> 
> 
>>will this patch be ported to 2.5.x or is it already present there?  Thanks.
> 
> 
> Block layer infrastructure is there, has been since bio was merged in
> 2.5.1-pre. The ide bits will be send for inclusion shortly.
> 

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.

Jordan

[-- Attachment #2: Type: application/pgp-signature, Size: 250 bytes --]

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05 16:00 Jordan Breeding [this message]
2003-02-05 16:55 ` scsi write barriers (ordered tags)? James Bottomley
     [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=3E413530.8060103@attbi.com \
    --to=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