[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <C129E0A8-6B8F-45AF-8EC5-33ABEC979C15@dilger.ca>
Date: Tue, 23 Dec 2014 15:13:18 -0700
From: Andreas Dilger <adilger@...ger.ca>
To: Phillip Susi <psusi@...ntu.com>
Cc: ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: Ext4 tail merging?
On Dec 23, 2014, at 2:34 PM, Phillip Susi <psusi@...ntu.com> wrote:
>
> Ext4 still does not support tail merging right? I had a user post
> this filefrag output and was surprised to see that it says the merged
> flag is set. How can this be?
>
> $ filefrag -v /boot/grub/grubenv
> Filesystem type is: ef53
> Filesystem cylinder groups approximately 19
> File size of /boot/grub/grubenv is 1024 (1 block of 4096 bytes)
> ext: logical_offset: physical_offset: length: expected: flags:
> 0: 0.. 0: 494592.. 494592: 1: merged,eof
> /boot/grub/grubenv: 1 extent found, perfection would be -1 extent
"merged" in this context doesn't mean "tail merging" in the sense of Reiserfs. This just means that the reported "extent" is actually merged
from a series of contiguous blocks in an ext3 block-mapped file (as
opposed to an extent-mapped file).
Note that there is an experimental ext4 feature similar to "tail merging"
that is being added. That is "inline data", which stores the data of
small files or directories directly in the inode as an xattr.
Cheers, Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists