xfs
[Top] [All Lists]

Re: RAID Controller Caching and XFS

To: Florin Andrei <florin@xxxxxxx>
Subject: Re: RAID Controller Caching and XFS
From: Steve Lord <lord@xxxxxxx>
Date: 05 Jun 2002 16:58:25 -0500
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1023314217.32329.32.camel@stantz.corp.sgi.com>
References: <auto-000021147946@dc-mx04.cluster1.charter.net> <4.3.2.7.2.20020603111517.03b4e1b0@pop.xs4all.nl> <20020605160422.A14886@pla-muek.reefedge.com> <1023314217.32329.32.camel@stantz.corp.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 2002-06-05 at 16:56, Florin Andrei wrote:
> On Wed, 2002-06-05 at 13:04, Thor Lancelot Simon wrote:
> > 
> > More importantly, you don't *want* to use readahead because it will waste
> > valuable cache space on the controller that could be used to cache small
> > writes.
> 
> How safe is it to enable caching for writes on the controller (if you
> don't have a battery on it)?
> I mean, i configured my Mylex with "Write Through" for data-safety
> reasons, even though the other option ("Write Back") could offer
> improved performance.
> 

How important is your data? If it is in the cache and you lose power,
then you lose it. If the raid controller does reordering on the I/O
then you can end up with a corrupted file system. You will not know
it is corrupted until you attempt to access the part of it that is
corrupt, or run xfs_check on it.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>