[Top] [All Lists]

Re: Questions about XFS

To: Steve Bergman <sbergman27@xxxxxxxxx>
Subject: Re: Questions about XFS
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 12 Jun 2013 07:03:12 +1000
Cc: Ric Wheeler <rwheeler@xxxxxxxxxx>, Stefan Ring <stefanrin@xxxxxxxxx>, Linux fs XFS <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <CAO9HMNEk1qNVGzM+a052O1y0nm3-cxqM17BGWBZDc1byfWTa7w@xxxxxxxxxxxxxx>
References: <loom.20130611T112155-970@xxxxxxxxxxxxxx> <51B72D3D.5010206@xxxxxxxxxx> <CAO9HMNGjdikgX+_434aGVJ2NAJ0hxDNLo+Vsa46GH3psXr4sKQ@xxxxxxxxxxxxxx> <51B75C39.3030306@xxxxxxxxxx> <CAAxjCEyne63XH1Uk6_7jzjaxDbsSopO9E+=6oo3xE=PvjBFcjA@xxxxxxxxxxxxxx> <51B75EF7.40801@xxxxxxxxxx> <CAO9HMNEk1qNVGzM+a052O1y0nm3-cxqM17BGWBZDc1byfWTa7w@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Jun 11, 2013 at 02:30:36PM -0500, Steve Bergman wrote:
> Thanks. But I'm specifically *not* talking about database apps, I'm
> talking about non-database applications written in languages that
> don't even have a concept of fsync.

I get it. You want a pony, and you don't want to pay anything for

Any language is fundamentally broken if it has no concept and/or
method for ensuring data integrity for data that is written through
it. If you have such a language and you need data integrity then
your only filesystem option for guaranteeing no data loss is
synchronous writes and metadata updates. 

XFS allows you to minimise the impact of such legacy languages and
applications to just the data sets those applications use through
the use of 'chattr -S' and the /proc/sys/fs/xfs/xfs_inherit_sync


Dave Chinner

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