lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 22 Oct 2008 14:03:42 -0400
From:	Theodore Tso <tytso@....edu>
To:	Phillip Susi <psusi@....rr.com>
Cc:	Linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Yea old defrag

On Wed, Oct 22, 2008 at 12:10:23PM -0400, Phillip Susi wrote:
> I'm writing this to Theodore Ts'o because he has worked on the package  
> in the past, and currently maintains e2fsprogs.   I am CCing lkml since  
> there are likely to be other interested parties, and there does not seem  
> to be a separate list for e2fsprogs.
>
> The old defrag package for doing offline defragmentation of ext2 has not  
> been maintained in many years.  About two years ago I fixed a few bugs  
> that were causing it to not work on ext3 and placed the changes in  
> Ubuntu.  I would like to see this program continue to live since it  
> still serves a purpose, but because it has had no upstream maintainer in  
> so long, Debian and thus Ubuntu have dropped the package.  I am trying  
> to resurrect it.
>
> I was wondering why it was never integrated into e2fsprogs, and if this  
> could now be done.  It seems to me that e2fsprogs would be the proper  
> home for it, and a neutral upstream for everyone.  If not, then I will  
> try to maintain it as an Ubuntu native package in a bazaar branch on  
> launchpad.

The problem with the defrag code has always been that I haven't had
time to give it proper love and attention, and it needs a *lot* of
work before I would be willing to stand behind it as a useful and
"safe" tool to use.  Basically, I don't want to get the hate mail from
people who lose their data due to bugs or other potential failures
from e2defrag.

I have a vague memory it doesn't even work if the filesystem blocksize
is greater than 1k, but I'm not 100% certain that is still true.

There is also an on-line defragmetter that requires kernel support
that some folks from NEC are working on for ext4 (which can also
support ext3 filesystems).  My thinking is that it's more worthwhile
to focus my attentions on helping Akira Fujita and Takashi Sato finish
theiron-line ext4 defragmentation patches than to worry about
e2defrag.  Of course, if you'd like to give some love and attention to
e2defrag, that's great.  But e2defrag doesn't use the ext2fs
libraries, and it would be a huge amount of work to make sure it
supports things like extended attributes and other newer format
enhancements that have been made to the ext3 filesystem.

Regards,

						- Ted

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ