All of lore.kernel.org
 help / color / mirror / Atom feed
* extent counting fun
@ 2010-07-05 19:24 Eric Sandeen
  2010-07-05 23:46 ` Andreas Dilger
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2010-07-05 19:24 UTC (permalink / raw)
  To: ext4 development

[root@host ~]# filefrag -B /mnt/test/file
/mnt/test/file: 34 extents found
[root@host ~]# filefrag /mnt/test/file
/mnt/test/file: 1058 extents found, perfection would be 1 extent

Hum, is it 34 or 1058? :)

Older filefrag counted contiguous metadata as part of a contiguous
extent... newer filefrag works in fiemap query-only mode by default,
and just takes what fiemap tells it.  The inconsistency is weird
though, and led to a Red Hat bug that I'm inclined to NOTABUG... but
do people think this needs to be made any more consistent?

Should we hack ext3_fiemap() to include the checks for contiguous
metadata?  Or was that too shady/clever to start with ...? :)

-Eric

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

end of thread, other threads:[~2010-07-09 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 19:24 extent counting fun Eric Sandeen
2010-07-05 23:46 ` Andreas Dilger
2010-07-06  0:50   ` Eric Sandeen
2010-07-09 21:10     ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.