Re: [PATCH 1/2] i_version update - vfs part

2007-10-05 Thread Mingming Cao
On Fri, 2007-10-05 at 17:28 +0200, Cordenner jean noel wrote: > Hi, > Hi Jean Noel, > This is an update of the i_version patch. Just to make sure, is this vfs patch and next ext4 patch together going to replace the 4 inode-version related patches currently in ext4-patch-queue (and git tree)?

Re: [PATCH 2/2] i_version update - ext4 part

2007-10-05 Thread Mingming Cao
On Fri, 2007-10-05 at 17:28 +0200, Cordenner jean noel wrote: > This patch update the i_version field of the inode and add a mount > option to enable this feature. The other condition to enable this > feature is that the inode size should be 256-bytes. > > Signed-off-by: Jean Noel Cordenner <[EMAI

[PATCH] jbd: JBD replace jbd_kmalloc with kmalloc

2007-10-05 Thread Mingming Cao
JBD: JBD replace jbd_kmalloc with kmalloc From: Mingming Cao <[EMAIL PROTECTED]> This patch cleans up jbd_kmalloc and replace it with kmalloc directly Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> --- fs/jbd/journal.c | 11 +-- fs/jbd/transaction.c |4 ++-- include/linux/jb

[PATCH] jbd2: JBD replace jbd2_kmalloc with kmalloc

2007-10-05 Thread Mingming Cao
JBD2: JBD2 replace jbd2_kmalloc with kmalloc From: Mingming Cao <[EMAIL PROTECTED]> This patch cleans up jbd_kmalloc and replace it with kmalloc directly Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> --- fs/jbd2/journal.c | 11 +-- fs/jbd2/transaction.c |4 ++-- include/lin

[PATCH] jbd2: JBD2 slab allocation cleanups

2007-10-05 Thread Mingming Cao
JBD2: jbd2 slab allocation cleanups From: Mingming Cao <[EMAIL PROTECTED]> JBD2: Replace slab allocations with page allocations JBD2 allocate memory for committed_data and frozen_data from slab. However JBD2 should not pass slab pages down to the block layer. Use page allocator pages instead. Th

[PATCH] jbd: JBD slab allocation cleanups

2007-10-05 Thread Mingming Cao
JBD: JBD slab allocation cleanups From: Mingming Cao <[EMAIL PROTECTED]> JBD: Replace slab allocations with page allocations JBD allocate memory for committed_data and frozen_data from slab. However JBD should not pass slab pages down to the block layer. Use page allocator pages instead. This w

Re: [PATCH] jbd/jbd2: JBD memory allocation cleanups

2007-10-05 Thread Mingming Cao
On Thu, 2007-10-04 at 07:52 +0100, Christoph Hellwig wrote: > On Thu, Oct 04, 2007 at 01:50:36AM -0400, Theodore Ts'o wrote: > > From: Mingming Cao <[EMAIL PROTECTED]> > > > > JBD: Replace slab allocations with page cache allocations > > It's page allocations, not page cache allocations. > > > A

Re: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c

2007-10-05 Thread Mingming Cao
Forwarded Message From: Valerie Clement <[EMAIL PROTECTED]> To: Linux Kernel Mailing List <[EMAIL PROTECTED]> Subject: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c Date: Thu, 04 Oct 2007 18:13:46 +0200 While running ffsb tests on my ext4 filesystem, I got an Oops in cache

Re: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c

2007-10-05 Thread Mingming Cao
On Fri, 2007-10-05 at 07:54 -0700, Badari Pulavarty wrote: > On Fri, 2007-10-05 at 15:41 +0200, Valerie Clement wrote: > > Badari Pulavarty wrote: > > > On Thu, 2007-10-04 at 18:13 +0200, Valerie Clement wrote: > > >> While running ffsb tests on my ext4 filesystem, I got an Oops in > > >> cache_al

[PATCH 2/2] i_version update - ext4 part

2007-10-05 Thread Cordenner jean noel
This patch update the i_version field of the inode and add a mount option to enable this feature. The other condition to enable this feature is that the inode size should be 256-bytes. Signed-off-by: Jean Noel Cordenner <[EMAIL PROTECTED]> --- fs/ext4/inode.c |4 +++- fs/ext4/super.c

[PATCH 1/2] i_version update - vfs part

2007-10-05 Thread Cordenner jean noel
Hi, This is an update of the i_version patch. The i_version field is a 64bit counter that is set on every inode creation and that is incremented every time the inode data is modified (similarly to the "ctime" time-stamp). The aim is to fulfill a NFSv4 requirement for rfc3530: "5.5. Mandator

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-05 Thread Aneesh Kumar K.V
Valerie Clement wrote: Aneesh Kumar K.V wrote: +if (block_group == sbi->s_gdb_count - 1) { +/* + * Even though mke2fs always initialize first and last group + * if some other tool enabled the EXT4_BG_BLOCK_UNINIT we need + * to make sure we calculate the rig

Re: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c

2007-10-05 Thread Badari Pulavarty
On Fri, 2007-10-05 at 15:41 +0200, Valerie Clement wrote: > Badari Pulavarty wrote: > > On Thu, 2007-10-04 at 18:13 +0200, Valerie Clement wrote: > >> While running ffsb tests on my ext4 filesystem, I got an Oops in > >> cache_alloc_refill(). > >> I turned on SLAB debugging and here is the message

Re: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c

2007-10-05 Thread Valerie Clement
Badari Pulavarty wrote: On Thu, 2007-10-04 at 18:13 +0200, Valerie Clement wrote: While running ffsb tests on my ext4 filesystem, I got an Oops in cache_alloc_refill(). I turned on SLAB debugging and here is the message I got: slab: Internal list corruption detected in cache 'buffer_head'(30),

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-05 Thread Valerie Clement
Aneesh Kumar K.V wrote: +if (block_group == sbi->s_gdb_count - 1) { +/* + * Even though mke2fs always initialize first and last group + * if some other tool enabled the EXT4_BG_BLOCK_UNINIT we need + * to make sure we calculate the right free blocks + *