Linux EXT4 FS development
 help / color / mirror / Atom feed
* Ext4 tail merging?
@ 2014-12-23 21:34 Phillip Susi
  2014-12-23 22:13 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2014-12-23 21:34 UTC (permalink / raw)
  To: ext4 development

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJUmd/lAAoJENRVrw2cjl5RL1YH+gOPL+fxjD9zUlgOZf40D25l
HgyXP6uXiiLmm/ZUq+htmsvcsM2B7ymT2eZ7mFJfPW90zZbwY9aMXLxf7sSwwu9w
9aETK/s/aMzih+CEii4oDAd2URzpHGzYeQyvH5xPm01JOm7aHMUzw8kMYE5AFvsB
8/HJWboAbZFpdFQO7GRcFWknbEhHAfYwOCOvv7H5Ouks7+Ia07fQD68pzbdVtP90
LDRbml1cg7Us8BJa1Hrc/DfYTa0DcsIpAgFlbCEAu7Mui2C2EW0qDX6TCp9jHM6C
6XGjGqW1f70rgAzK4P2sfMa1UkF/PQQpoTiKjzinZuBbc6Krv7tjJvPXrv7uy1Q=
=GIq0
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ext4 tail merging?
  2014-12-23 21:34 Ext4 tail merging? Phillip Susi
@ 2014-12-23 22:13 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2014-12-23 22:13 UTC (permalink / raw)
  To: Phillip Susi; +Cc: ext4 development

On Dec 23, 2014, at 2:34 PM, Phillip Susi <psusi@ubuntu.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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-23 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23 21:34 Ext4 tail merging? Phillip Susi
2014-12-23 22:13 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox