Hi
I have modified the online defrag patches to add new function which can
put the multiple files closer together. It is effective for
an application which reads many small files. Our goal is to reduce
OS booting time by putting the files, read during OS booting,
closer together.
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]
---
Hi Alex
I found a bug on linux-2.6.19-rc6 with Alex's patches.
With no files on the device, doing the following system call:
1. open with O_CREAT
fd = open(test_file, O_RDWR|O_CREAT, 0777)
2. ftruncate (length is not aligned with blocksize)
ftruncate(fd, 200)
3. write out the
Hi
I have modified the online defrag patches to support ext4
on Linux 2.6.19-rc6. There is no difference of the features
from the previous version.
My patches need the following Alex's patches of the multi-block
allocation for Linux 2.6.19-rc6.
[RFC] delayed allocation, mballoc, etc
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
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]
---
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]
---
Hi Mingming,
I found a trivial bug in Mingming's ext4 patch titled
ext4-extents-48bit.patch.
There happens a type conflicting:
+int ext4_ext_get_blocks(handle_t *handle, struct inode *inode, ext4_fsblk_t
iblock,
You should fix extern declaration for ext4_ext_get_blocks.
Cheers, sho
Hi all,
On July 7, 2006, sho wrote:
On Jun 29, 2006, Andreas wrote:
On Jun 28, 2006 17:50 +0200, Johann Lombardi wrote:
ext2/ext3_dir_entry_2 has a 16-bit entry(rec_len) and it
would overflow
with 64KB blocksize. This patch prevent from overflow by limiting
rec_len to 65532
[2/4] ext2: fix rec_len overflow
- prevent rec_len from overflow with 64KB blocksize
Signed-off-by: Takashi Sato [EMAIL PROTECTED]
---
diff -upNr -X linux-2.6.18-rc4-mingming/Documentation/dontdiff
linux-2.6.18-rc4-mingming/fs/ext2/dir.c
[3/4] ext3: fix rec_len overflow
- prevent rec_len from overflow with 64KB blocksize
Signed-off-by: Takashi Sato [EMAIL PROTECTED]
---
diff -upNr -X linux-2.6.18-rc4-mingming/Documentation/dontdiff
linux-2.6.18-rc4-mingming/fs/ext3/dir.c
14 matches
Mail list logo