Build/install instructions are in the INSTALL file. Note that e4defrag is built in the misc folder but doesn't install with the rest when you do a sudo make install.
There are also patches for the relevant file defragmentation mentioned in the slides (comment #32), ie at http://marc.info/?l=linux-ext4&m=128272678710600&w=2. The first three are for the kernel (it looks like they are based on 2.6.34 and didn't cleanly apply to my 2.6.37-rc1 kernel so I didn't apply them, which is likely why -r kept failing for me) and the last two are for e2fsprogs. I guess you don't need them if you are just trying out the file/directory defrag. From the slides, it looks like file/dir defrag just allocates a contiguous space for the defrag file and moves it into this space.
The source for e4defrag is in e2fsprogs source with:
git clone http:// git.kernel. org/pub/ scm/fs/ ext2/e2fsprogs. git
Build/install instructions are in the INSTALL file. Note that e4defrag is built in the misc folder but doesn't install with the rest when you do a sudo make install.
There are also patches for the relevant file defragmentation mentioned in the slides (comment #32), ie at http:// marc.info/ ?l=linux- ext4&m= 128272678710600 &w=2. The first three are for the kernel (it looks like they are based on 2.6.34 and didn't cleanly apply to my 2.6.37-rc1 kernel so I didn't apply them, which is likely why -r kept failing for me) and the last two are for e2fsprogs. I guess you don't need them if you are just trying out the file/directory defrag. From the slides, it looks like file/dir defrag just allocates a contiguous space for the defrag file and moves it into this space.