The defrag command.
o Defrag for a file.
# e4defrag file-name
o Defrag for all files on whole ext3.
# e4defrag device-name
Signed-off-by: Takashi Sato [EMAIL PROTECTED]
---
/*
* e4defrag, ext4 filesystem defragmenter
*
*/
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
#endif
#ifndef
Search contiguous free blocks with Alex's mutil-block allocation
and allocate them for the temporary inode.
This patch applies on top of Alex's patches.
[RFC] extents,mballoc,delalloc for 2.6.16.8
http://marc.theaimsgroup.com/?l=linux-ext4m=114669168616780w=2
Signed-off-by: Takashi Sato [EMAIL
Hi,
I am considering the online defrag function for ext4 and thinking
that your following patch set for multi-block allocation is useful
to search contiguous free blocks for the defragmentation.
[RFC] extents,mballoc,delalloc for 2.6.16.8
Move the blocks on the temporary inode to the original inode
by a page.
1. Read the file data from the old blocks to the page
2. Move the block on the temporary inode to the original inode
3. Write the file data on the page into the new blocks
Signed-off-by: Takashi Sato [EMAIL PROTECTED]
---
On Thu, 2006-11-09 at 07:46 -0500, Jeff Garzik wrote:
[EMAIL PROTECTED] wrote:
I have written the patches of ioctl for extent base online defragment
and the command which call it.
These patches are at the experimental stage so they need many
improvements. But they work well so far as
Begin forwarded message:
Date: Thu, 1 Dec 2005 08:54:18 -0800
From: Jayachandran C. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Errors reported by Coverity in ext3.
[Re-sending to the ext3 list, with minor edits]
I'm in the process of fixing errors generated by the