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.
|