[Ocfs2-tools-devel] [PATCH 0/4] defrag.ocfs2

Goldwyn Rodrigues rgoldwyn at gmail.com
Wed Mar 17 18:26:40 PDT 2010


These patches adds a new tool to defrag ocfs2 filesystem.
There are 3 passes - 
Pass 1: Clears unused inode groups
Pass 2: Defrags the directories, coalescing the directory entries
Pass 3: Defrags the filesystem as a whole

I haven't done defraging of files (merging of file extents) as yet.
Algorithms and limitations are in patch headers of the pass they introduce.

Disclaimer: Don't blame me if it eats your data ;)

Comments/Suggestions welcome.

-- 
Goldwyn



More information about the Ocfs2-tools-devel mailing list