]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: defang frag command
authorEric Sandeen <sandeen@sandeen.net>
Mon, 30 May 2016 00:35:56 +0000 (10:35 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 30 May 2016 00:35:56 +0000 (10:35 +1000)
commit027e6efd2b432232562d726f14702f79792b38cb
tree531efbdd400dfa56d2ac944aa80b72588bb0cc39
parent0ebbf1d58898af19dec167a4a06bba5ac86ac776
xfs_db: defang frag command

Too many people freak out about this fictitious "fragmentation
factor."  As shown in the fact, it is largely meaningless, because
the number approaches 100% extremely quickly for just a few
extents per file.

I thought about removing it altogether, but perhaps a note
about its uselessness, and a more soothing metric (avg extents
per file) might be useful.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
db/frag.c