[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FFB27CF.4090901@ubuntu.com>
Date: Mon, 09 Jul 2012 14:49:51 -0400
From: Phillip Susi <psusi@...ntu.com>
To: Greg Freemyer <greg.freemyer@...il.com>
CC: Andreas Dilger <adilger@...ger.ca>,
ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: e2defrag 0.81 released
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/9/2012 12:16 PM, Greg Freemyer wrote:
> Of course, even that is better than having to unmount the
> filesystem like you new tool apparently requires.
Old tool... very old tool ;)
I remember using the thing with one of the first releases of slackware
when I first started playing with Linux, and iirc, DOS hadn't yet
included its own defragger.
> I think you're right e4defrag userspace code ignores consolidating
> freespace to make bigger extents possible and I don't think
> userspace has any file packing specific knowledge.
>
> Does fallocate itself assist with either?
>
> ie. since e4defrag uses fallocate to allocate the donor file
> blocks, logically it would make sense to add the intelligence you
> are looking for into fallocate. And hopefully it is already
> there.
You need a method of requesting specific blocks instead of just asking
for the right number. Then you need to analyze all of the files on
the disk to figure out where their blocks are, and decide where you
want them to be instead. Then you could use the donor inode method to
move things around.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJP+yfPAAoJEJrBOlT6nu75Y8AH/09qDUt0jdhPjNyXMUUFRVaV
U7Ih5j6r0srRHH9VmS7ppq6ingqpbrFEExbalg8ynTRX1nYDGL0nLiBU79rfK+KK
XOTK0ZYm+CUMElLdO5bYnaHti9vsSHL5xRyGmI5OR0CY7LwfnyJeDw6wS7+WsgyQ
o6ziTPcBEfaJzn9BBS+EP/1WI06lQ/cJbWUqUAJhefu2my3IXJUrjUYjnH46HKGM
2ptPbIJM2fT4QubBNnuPpdTNI5yc56+auzoB3hrK2Nf/Yh17w5R0MomHk/VitzPt
AD7zKLgpk6R9G/IbnajsMVzbLsjBbn8Tcyrhher2uyw3xE0XtJgj2fmPq32ZrL0=
=hMeu
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists