The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Kenny Simpson <theonetruekenny@yahoo.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: RAID controller safety
Date: Fri, 30 Dec 2005 10:58:40 -0800 (PST)	[thread overview]
Message-ID: <20051230185840.52264.qmail@web34113.mail.mud.yahoo.com> (raw)
In-Reply-To: <1135966830.28365.29.camel@localhost.localdomain>

--- Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Gwe, 2005-12-30 at 08:18 -0800, Kenny Simpson wrote:
> > That's what I read in the comments too, but looking at the code I only ever see it set to
> > write-back.  I verified this with blktool - our controllers have no battery, and blktool
> showed
> > the i2o-wcache state as write-back.
> 
> blktool doesn't support i2o control as far as I am aware. The blk level
> generic ioctls are just too crude to control it properly.

>From man blktool dated August 2004:
       i2o-wcache
              Query or set an I2O block device's write cache.

> 
> > However, I was also told that the i2o_block driver lacks barrier support, so even in the
> > write-back case, the controller won't be told to flush/sync.
> 
> Correct, but it should only ever enable this in the battery backed case.
> Otherwise it uses the per command control bits to decide what mode it
> wishes to use for each I/O

So all writes would be treated as syncronous in the write-through case (no battery), making fsync
a no-op?

-Kenny



	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/

  reply	other threads:[~2005-12-30 18:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-29 16:29 RAID controller safety Kenny Simpson
2005-12-30 15:17 ` Alan Cox
2005-12-30 16:18   ` Kenny Simpson
2005-12-30 18:20     ` Alan Cox
2005-12-30 18:58       ` Kenny Simpson [this message]
2005-12-30 19:31         ` Bernd Eckenfels
2005-12-31  0:49         ` Alan Cox
2005-12-31  3:25           ` Kenny Simpson
2005-12-31  3:29           ` Kenny Simpson
2005-12-31  6:55           ` Kenny Simpson
2005-12-31  7:57           ` Kenny Simpson
  -- strict thread matches above, loose matches on Subject: below --
2006-01-06 14:33 Salyzyn, Mark
2006-01-06 14:46 ` Alan Cox
2006-01-06 15:18   ` Kenny Simpson
2006-01-06 16:02     ` Alan Cox
2006-01-06 17:06 Salyzyn, Mark

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=20051230185840.52264.qmail@web34113.mail.mud.yahoo.com \
    --to=theonetruekenny@yahoo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@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