Markus T�rnqvist wrote:
Is the repacker available for reiser4? I can see code in

it works with echo 1 > /sys/fs/reiser4/hda2/repacker/start afaik, but I haven't tried it myself yet, as my backups are a bit out of date.



Thanks Markus.

As far as I can tell (can anybody confirm/deny), it's up to userspace
to manually toggle the 'direction' flag as required before starting
the repacker - the direction seems to default to 0 ('backward') on each mount.


It works fine for me on 600Mb of test data which I have heavily fragmented with a test script.

A 'diff -r' reports no differences with the original data (stored
in ext3), and I can see the tree-frag and data-frag values
falling in measurefs.ext4.

I hope to do some timings over the next few days of how fragmentation
degrades performance of both ext3 and reiser4, given the same
sequence of operations on each filesystem.  And then, whether the
repacker fixes things for reiser4.  Naturally, ext3 fragmentation
cannot be fixed :)


Will Smith

Reply via email to