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 08:18:05 -0800 (PST) [thread overview]
Message-ID: <20051230161805.64631.qmail@web34110.mail.mud.yahoo.com> (raw)
In-Reply-To: <1135955866.28365.10.camel@localhost.localdomain>
> > Specificly, I am looking at the Adaptec RAID controllers and their i2o drivers. I am told
> the
> > kernel's i2o driver lacks a strong guarantee on fsync, and so far am unable to determine if
> the
> > dpt_i2o driver also falls short in this reguard.
>
> Only dpt can tell you what their firmware actually does.
Yeah, I wasn't so much interrested in the firmware just yet, just interrested if the device driver
(dpt_i2o) gave it a fighting chance of doing the right thing.
> The i2o core drivers use the following rules
> i2o_block by default assumes the card is caching. It adopts write
> through mode if the controller has no battery, write back if it shows
> battery. This can be configured differently via ioctls including the
> ability to tune write through of large I/O's (to avoid cache thrashing),
> and to do write back with no battery backup for performance in cases
> where losing the data on a crash doesn't matter (eg swap)
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.
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.
I was sent a patch against 2.6.10 that implements barrier support in i2o_block, but the code base
has shifted too much for me to make it apply.
-Kenny
__________________________________
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/
next prev parent reply other threads:[~2005-12-30 16:18 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 [this message]
2005-12-30 18:20 ` Alan Cox
2005-12-30 18:58 ` Kenny Simpson
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=20051230161805.64631.qmail@web34110.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