xfs
[Top] [All Lists]

Re: No local regular files

To: Shailendra Tripathi <stripathi@xxxxxxxxx>
Subject: Re: No local regular files
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Tue, 24 Jan 2006 09:01:54 -0800
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <43D645CD.3030102@agami.com>
References: <Pine.LNX.4.64.0601231054140.11064@zeus.sessys.com> <43D645CD.3030102@agami.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, Jan 24, 2006 at 08:50:45PM +0530, Shailendra Tripathi wrote:

>       I had an impression that XFS writes the data on the inode
> itself if data is pretty small. However, recently I came to know
> that for regular files it does not do the same, at least on Linux
> XFS.

Only for metadata, for regular files I think only reiserfs does this.
Doing it probably makes more complicated especially for
writes/flushes.  I think reiserfs unpacks these files when opened in
write for this reason (and optionally packs them again then the file
is closed).

Performance usually suffers so it ends up being a trade-off between
some space-savings and performance.  Given disks are insanely large
I'm not sure there is much incentive for this for many people.


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