xfs
[Top] [All Lists]

Re: Fwd: XFS: how to NOT null files on fsck?

To: Nicolas Kowalski <Nicolas.Kowalski@xxxxxxx>
Subject: Re: Fwd: XFS: how to NOT null files on fsck?
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Mon, 5 Jul 2004 14:55:49 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0407052212380.27678@xxxxxxxxxxxxx>
References: <200407051556.43673.norberto+linux-xfs@xxxxxxxxxxxx> <Pine.LNX.4.58.0407052212380.27678@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, Jul 05, 2004 at 10:26:41PM +0200, Nicolas Kowalski wrote:

> - the NFS exports are setup with the sync flag, as recommended,
>
> - [to be verified] Samba shares filesystems with "strict sync" and
>   "sync always" options,

this kills performance and increases file fragmentation in many cases

> For local files, use the sync attribute (chattr +S) to be sure that
> file contents are flushed on disk. This is usefull when files are
> frequently modified.

again this kills performance


ideally applications should be smarter about this, things like MTAs
actually are and get good performance w/o resorting to synchronous IO
(generally they use fsync and rename)


  --cw


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