All of lore.kernel.org
 help / color / mirror / Atom feed
From: andreas@rid-net.de
To: Greg Freemyer <greg.freemyer@gmail.com>,
	k-mio@sx.jp.nec.com, linux-ext4@vger.kernel.org
Subject: Re: defragmentation of boot related files
Date: Thu, 26 Aug 2010 22:16:28 +0200	[thread overview]
Message-ID: <4C76CB9C.2060207@rid-net.de> (raw)
In-Reply-To: <AANLkTi=zdx6QjsB+EJrOtmpr9BY-j24TGTJaeisAcqu7@mail.gmail.com>

hi,

>> Usage: e4defrag -r directory...| device...
>>        e4defrag -r base_file move_file...<--- new
>>

The new interface looks nice. As I see it's easy to implement cause only 
the main-function must be modified. If you have no objections, I will do 
it myself and send you the patch to review it.

> I suspect the original idea would work better because it is more
> likely to pack the libs / files into perfectly contiguous block
> ranges.

I don't know if it makes a difference for the block allocator. Even 
though you know the size of all files to be moved.

For a better result, may it be possible to create a base_file whose 
inode is part of an empty block group?


  Andreas

  reply	other threads:[~2010-08-26 20:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 12:00 defragmentation of boot related files andreas
2010-08-26  8:50 ` Kazuya Mio
2010-08-26 18:10   ` Greg Freemyer
2010-08-26 20:16     ` andreas [this message]
2010-08-27  0:47       ` Andreas Dilger
2010-08-27 11:21       ` Kazuya Mio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C76CB9C.2060207@rid-net.de \
    --to=andreas@rid-net.de \
    --cc=greg.freemyer@gmail.com \
    --cc=k-mio@sx.jp.nec.com \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.