All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] e4defrag: fragmentation score rework and cleanups
@ 2011-04-08  7:50 Kazuya Mio
  2011-04-19  6:11 ` Kazuya Mio
  0 siblings, 1 reply; 2+ messages in thread
From: Kazuya Mio @ 2011-04-08  7:50 UTC (permalink / raw)
  To: ext4, Theodore Tso

Hi,

This patch set adds the new function get_fragment_score() to libe2p, that
calculates the fragmentation score. Fragmentation score shows how badly
fragmented the file might be. filefrag uses it to make a user understand
the status of the file fragmentation easily. And e4defrag also uses it
to determine smarter whether to call EXT4_IOC_MOVE_EXT ioctl. This improvement
is based on the following Ted's idea.
http://marc.info/?l=linux-ext4&m=129324612305011&w=4

In addition, the 6th to the last is bugfix or cleanup patch.

This patch set is for e2fsprogs git tree. (commit:5af9eeaa7d)

Kazuya Mio (11):
  libe2p: Add new function get_fragment_score()
  filefrag: Output fragmentation score
  e4defrag: Remove -c option which check the file fragments
  e4defrag: Remove old fragmentation score calculation code
  e4defrag: Use get_fragment_score() for decision of whether to defrag
  e4defrag: Allow user who has read+write permission to defrag
  e4defrag: Fix memory leak in file_defrag()
  e4defrag: Use blk64_t instead of ext4_fsblk_t
  e4defrag: Use EXT2_SUPER_MAGIC instead of EXT4_SUPER_MAGIC
  e4defrag: Fix error messages more clearly
  e4defrag: Remove unnecessary code

 lib/e2p/Makefile.in      |    6 
 lib/e2p/e2p.h            |    2 
 lib/e2p/fragment_score.c |  142 +++++++
 misc/Makefile.in         |    8 
 misc/e4defrag.8.in       |   30 -
 misc/e4defrag.c          |  889 +++++------------------------------------------
 misc/filefrag.c          |   28 +
 7 files changed, 288 insertions(+), 817 deletions(-)

Regards,
Kazuya Mio

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 00/11] e4defrag: fragmentation score rework and cleanups
  2011-04-08  7:50 [PATCH 00/11] e4defrag: fragmentation score rework and cleanups Kazuya Mio
@ 2011-04-19  6:11 ` Kazuya Mio
  0 siblings, 0 replies; 2+ messages in thread
From: Kazuya Mio @ 2011-04-19  6:11 UTC (permalink / raw)
  To: ext4, Theodore Tso

Hi Ted,
Do you have any comments on this?

2011/04/08 16:50, Kazuya Mio wrote:
> Hi,
> 
> This patch set adds the new function get_fragment_score() to libe2p, that
> calculates the fragmentation score. Fragmentation score shows how badly
> fragmented the file might be. filefrag uses it to make a user understand
> the status of the file fragmentation easily. And e4defrag also uses it
> to determine smarter whether to call EXT4_IOC_MOVE_EXT ioctl. This improvement
> is based on the following Ted's idea.
> http://marc.info/?l=linux-ext4&m=129324612305011&w=4
> 
> In addition, the 6th to the last is bugfix or cleanup patch.
> 
> This patch set is for e2fsprogs git tree. (commit:5af9eeaa7d)
> 
> Kazuya Mio (11):
>    libe2p: Add new function get_fragment_score()
>    filefrag: Output fragmentation score
>    e4defrag: Remove -c option which check the file fragments
>    e4defrag: Remove old fragmentation score calculation code
>    e4defrag: Use get_fragment_score() for decision of whether to defrag
>    e4defrag: Allow user who has read+write permission to defrag
>    e4defrag: Fix memory leak in file_defrag()
>    e4defrag: Use blk64_t instead of ext4_fsblk_t
>    e4defrag: Use EXT2_SUPER_MAGIC instead of EXT4_SUPER_MAGIC
>    e4defrag: Fix error messages more clearly
>    e4defrag: Remove unnecessary code
> 
>   lib/e2p/Makefile.in      |    6
>   lib/e2p/e2p.h            |    2
>   lib/e2p/fragment_score.c |  142 +++++++
>   misc/Makefile.in         |    8
>   misc/e4defrag.8.in       |   30 -
>   misc/e4defrag.c          |  889 +++++------------------------------------------
>   misc/filefrag.c          |   28 +
>   7 files changed, 288 insertions(+), 817 deletions(-)
> 
> Regards,
> Kazuya Mio
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-19  6:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08  7:50 [PATCH 00/11] e4defrag: fragmentation score rework and cleanups Kazuya Mio
2011-04-19  6:11 ` Kazuya Mio

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.