[RFC][PATCH 3/3] Online defrag command

2006-11-09 Thread sho
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

[RFC][PATCH 1/3] Allocate new contiguous blocks

2006-11-09 Thread sho
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

[RFC][PATCH 0/3] Extent base online defrag

2006-11-09 Thread sho
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

[RFC][PATCH 2/3] Move the file data to the new blocks

2006-11-09 Thread sho
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] ---

Re: [RFC][PATCH 0/3] Extent base online defrag

2006-11-09 Thread Dave Kleikamp
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

Fw: Errors reported by Coverity in ext3.

2006-11-09 Thread Andrew Morton
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