Re: [36/37] Large blocksize support for ext2

2007-06-20 Thread Andreas Dilger
On Jun 20, 2007 11:29 -0700, [EMAIL PROTECTED] wrote: This adds support for a block size of up to 64k on any platform. It enables the mounting filesystems that have a larger blocksize than the page size. Might have been good to CC the ext2/3/4 maintainers here? I definitely have been waiting

[PATCH] zero_user_page conversion

2007-06-20 Thread Eric Sandeen
Use zero_user_page() in cifs, ocfs2, ext4, and gfs2 where possible. Compile tested, reviews welcome. Signed-off-by: Eric Sandeen [EMAIL PROTECTED] Index: linux-2.6.22-rc4-mm2/fs/cifs/inode.c === ---

Re: [36/37] Large blocksize support for ext2

2007-06-20 Thread Andreas Dilger
On Jun 20, 2007 14:27 -0700, Christoph Lameter wrote: Hmmm... Actually there is nothing additional to be done after the earlier cleanup of the macros. So just modify copyright. It is NOT possible to have 64kB blocksize on ext2/3/4 without some small changes to the directory handling

Re: delayed allocatiou result in Oops

2007-06-20 Thread Mingming Cao
On Wed, 2007-06-20 at 12:15 +0400, Alex Tomas wrote: Mingming Cao wrote: Hmm, PageMappedToDisk is probably not sufficient enough for pagesize! =blocksize. Is that the reason we need page-private to pass the request? PageMappedToDisk isn't enough in that case, definitely. bh is the way

ext4 patch queue rebased to linux2.6.22-rc5

2007-06-20 Thread Mingming Cao
http://repo.or.cz/w/ext4-patch-queue.git diff --git a/series b/series index d68345c..766f3eb 100644 (file) --- a/series +++ b/series @@ -1,4 +1,4 @@ -# Rebased the patches to 2.6.22-rc4 +# Rebased the patches to 2.6.22-rc5 # Add mount option to turn off extents

[RFC][PATCH 0/10] ext4 online defrag (ver 0.5)

2007-06-20 Thread Takashi Sato
Hi all, I have updated my online defrag patchset for addition of a new function. This function is defragmentation for free space. If filesytem has insufficient contiguous free blocks, defrag tries to move other files to make sufficient space and reallocates the contiguous blocks for the target

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

2007-06-20 Thread Takashi Sato
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] delayed allocation, mballoc, etc http://marc.theaimsgroup.com/?l=linux-ext4m=116493228301966w=2 Signed-off-by: Takashi Sato [EMAIL

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

2007-06-20 Thread Takashi Sato
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]

[RFC][PATCH 7/10] Reserve freed blocks

2007-06-20 Thread Takashi Sato
- Reserve the free blocks in the target area, not to be used by other process. Signed-off-by: Takashi Sato [EMAIL PROTECTED] Signed-off-by: Akira Fujita [EMAIL PROTECTED] --- diff -X Online-Defrag_linux-2.6.19-rc6-git/Documentation/dontdiff -upNr

[RFC][PATCH 9/10] Fix bugs in multi-block allocation and locality-group

2007-06-20 Thread Takashi Sato
- Move lg_list to s_locality_dirty in ext4_lg_sync_single_group() to flush all of dirty inodes. - Fix ext4_mb_new_blocks() to return err value when defrag failed. Signed-off-by: Takashi Sato [EMAIL PROTECTED] Signed-off-by: Akira Fujita [EMAIL PROTECTED] --- diff -X

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

2007-06-20 Thread Takashi Sato
- The defrag command. Usage is as follows: o Put the multiple files closer together. # e4defrag -r directory-name o Defrag for free space fragmentation. # e4defrag -f file-name o Defrag for a single file. # e4defrag file-name o Defrag for all files on ext4. # e4defrag