- xfs-convert-bex_add-to-bex_add_cpu-new-common-api.patch removed from -mm tree

2008-02-14 Thread akpm
The patch titled xfs: convert beX_add to beX_add_cpu (new common API) has been removed from the -mm tree. Its filename was xfs-convert-bex_add-to-bex_add_cpu-new-common-api.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be

[PATCH] blkid detection for ZFS

2008-02-14 Thread Andreas Dilger
Attached is a patch to detect ZFS in libblkid. It isn't by any means complete, because it doesn't report the LABEL or UUID of the device, nor names any of the constituent filesystems. The latter is quite complex to implement and may be beyond the scope of libblkid. Some input is welcome here als

Re: [PATCH resend] ext2/3/4: convert byte order of constant instead of variable

2008-02-14 Thread Mingming Cao
On Thu, 2008-02-14 at 14:20 -0800, Andrew Morton wrote: > On Sun, 10 Feb 2008 11:10:15 +0100 > Marcin Slusarz <[EMAIL PROTECTED]> wrote: > > > fs/ext2/super.c |8 +++- > > fs/ext3/super.c |2 +- > > fs/ext4/super.c |2 +- > > Please don't bundle the filesystem patches in this mann

Re: [PATCH RESEND] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Mingming Cao
On Thu, 2008-02-14 at 15:13 -0700, Andreas Dilger wrote: > On Feb 14, 2008 17:35 +0100, Valerie Clement wrote: > > From: Valerie Clement <[EMAIL PROTECTED]> > > > > With the flex_bg feature enabled, a large file creation oopses the > > kernel. > > The BUG_ON is: > > BUG_ON(len >= EXT4_BLOCKS_

Re: [RFC/PATCH] ext4: Request for journal write access early.

2008-02-14 Thread Mingming Cao
Added in ext4 patch queue, Thanks On Thu, 2008-02-14 at 16:00 +0530, Aneesh Kumar K.V wrote: > In ext4_ext_convert_to_initialized before we need to request for journal > write access before we even modify the extent length. > > Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> > --- > fs/ext4/e

Re: [RFC/PATCH] ext4: Fix the memory leak and buffer head leak with respect to ext4_ext_path

2008-02-14 Thread Mingming Cao
Added in ext4 patch queue, Thanks On Thu, 2008-02-14 at 16:00 +0530, Aneesh Kumar K.V wrote: > The path variable returned via ext4_ext_find_extent is a kmalloc variable > and need to be freeded. It also contain refrences to buffer_head which need > to be dropped. > > Signed-off-by: Aneesh Kumar K

Re: [PATCH] reduce mballoc stack usage with noinline

2008-02-14 Thread Mingming Cao
Added in patch queue, Thanks! On Fri, 2008-02-01 at 13:48 -0600, Eric Sandeen wrote: > mballoc.c is a whole lot of static functions, which gcc seems to > really like to inline. > > With the changes below, on x86, I can at least get from: > > 432 ext4_mb_new_blocks > 240 ext4_mb_free_blocks > 20

Re: [PATCH] ext4: modify block allocation algorithm for the last group

2008-02-14 Thread Mingming Cao
Added in patch queue, Thanks, On Wed, 2008-02-13 at 17:26 +0100, Valerie Clement wrote: > Modify the block allocation algorithm for the last group > > From: Valerie Clement <[EMAIL PROTECTED]> > > When a directory inode is allocated in the last group and the last group > contains less than s_bloc

Re: [PATCH] building e2fsprogs-interim

2008-02-14 Thread Andreas Dilger
On Feb 14, 2008 12:26 -0600, Eric Sandeen wrote: > I needed this patch to build e2fsprogs-interim, to fix a parallel make problem Thanks, I've added to our CVS in case we ever have to re-submit the patch. > Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]> > --- > > Index: e2fsprogs-1.40.6/lib/ex

Re: [PATCH resend] ext2/3/4: convert byte order of constant instead of variable

2008-02-14 Thread Andrew Morton
On Sun, 10 Feb 2008 11:10:15 +0100 Marcin Slusarz <[EMAIL PROTECTED]> wrote: > fs/ext2/super.c |8 +++- > fs/ext3/super.c |2 +- > fs/ext4/super.c |2 +- Please don't bundle the filesystem patches in this manner. I split it into three patches. Thanks. - To unsubscribe from this

+ ext3-convert-byte-order-of-constant-instead-of-variable.patch added to -mm tree

2008-02-14 Thread akpm
The patch titled ext3: convert byte order of constant instead of variable has been added to the -mm tree. Its filename is ext3-convert-byte-order-of-constant-instead-of-variable.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc

+ ext4-convert-byte-order-of-constant-instead-of-variable.patch added to -mm tree

2008-02-14 Thread akpm
The patch titled ext4: convert byte order of constant instead of variable has been added to the -mm tree. Its filename is ext4-convert-byte-order-of-constant-instead-of-variable.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc

+ ext2-convert-byte-order-of-constant-instead-of-variable.patch added to -mm tree

2008-02-14 Thread akpm
The patch titled ext2: convert byte order of constant instead of variable has been added to the -mm tree. Its filename is ext2-convert-byte-order-of-constant-instead-of-variable.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc

Re: [PATCH RESEND] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Andreas Dilger
On Feb 14, 2008 17:35 +0100, Valerie Clement wrote: > From: Valerie Clement <[EMAIL PROTECTED]> > > With the flex_bg feature enabled, a large file creation oopses the > kernel. > The BUG_ON is: > BUG_ON(len >= EXT4_BLOCKS_PER_GROUP(sb)); > > As the allocation of the bitmaps and the inode t

Re: [RFC/PATCH] ext4: Request for journal write access early.

2008-02-14 Thread Mingming Cao
On Thu, 2008-02-14 at 16:00 +0530, Aneesh Kumar K.V wrote: > In ext4_ext_convert_to_initialized before we need to request for journal > write access before we even modify the extent length. > Acked. Thanks Mingming > Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> > --- > fs/ext4/extents.c |

Re: [RFC/PATCH] ext4: Fix the memory leak and buffer head leak with respect to ext4_ext_path

2008-02-14 Thread Mingming Cao
On Thu, 2008-02-14 at 16:00 +0530, Aneesh Kumar K.V wrote: > The path variable returned via ext4_ext_find_extent is a kmalloc variable > and need to be freeded. It also contain refrences to buffer_head which need > to be dropped. > Acked. Mingming > Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECT

[PATCH] building e2fsprogs-interim

2008-02-14 Thread Eric Sandeen
I needed this patch to build e2fsprogs-interim, to fix a parallel make problem Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]> --- Index: e2fsprogs-1.40.6/lib/ext2fs/Makefile.in === --- e2fsprogs-1.40.6.orig/lib/ext2fs/Makefile.in ++

Re: [PATCH RESEND] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Mingming Cao
On Thu, 2008-02-14 at 17:35 +0100, Valerie Clement wrote: > Fix kernel BUG at fs/ext4/mballoc.c:910! > > From: Valerie Clement <[EMAIL PROTECTED]> > > With the flex_bg feature enabled, a large file creation oopses the > kernel. > The BUG_ON is: > BUG_ON(len >= EXT4_BLOCKS_PER_GROUP(sb)); >

Re: [PATCH RESEND] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Eric Sandeen
Valerie Clement wrote: > Fix kernel BUG at fs/ext4/mballoc.c:910! > > From: Valerie Clement <[EMAIL PROTECTED]> > > With the flex_bg feature enabled, a large file creation oopses the > kernel. Valerie, what's the specific testcase for this? Thanks, -Eric - To unsubscribe from this list: send th

[PATCH RESEND] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Valerie Clement
Fix kernel BUG at fs/ext4/mballoc.c:910! From: Valerie Clement <[EMAIL PROTECTED]> With the flex_bg feature enabled, a large file creation oopses the kernel. The BUG_ON is: BUG_ON(len >= EXT4_BLOCKS_PER_GROUP(sb)); As the allocation of the bitmaps and the inode table can be done outside

Re: [PATCH] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Valerie Clement
Aneesh Kumar K.V wrote: diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index b0f84b4..0275150 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -907,7 +907,7 @@ static void ext4_mb_mark_free_simple(struct super_block *sb, unsigned short chunk; unsigned short border;

Re: [PATCH] ext4: Fix kernel BUG at fs/ext4/mballoc.c:910!

2008-02-14 Thread Valerie Clement
Andreas Dilger wrote: On Feb 13, 2008 18:19 +0100, Valerie Clement wrote: From: Valerie Clement <[EMAIL PROTECTED]> With the flex_bg feature enabled, a large file creation oopses the kernel. The BUG_ON is: BUG_ON(len >= EXT4_BLOCKS_PER_GROUP(sb)); As the allocation of the bitmaps and

[RFC/PATCH] ext4: Request for journal write access early.

2008-02-14 Thread Aneesh Kumar K.V
In ext4_ext_convert_to_initialized before we need to request for journal write access before we even modify the extent length. Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- fs/ext4/extents.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/fs/ext4/exten

[RFC/PATCH] ext4: Fix the memory leak and buffer head leak with respect to ext4_ext_path

2008-02-14 Thread Aneesh Kumar K.V
The path variable returned via ext4_ext_find_extent is a kmalloc variable and need to be freeded. It also contain refrences to buffer_head which need to be dropped. Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- fs/ext4/extents.c |6 +++--- fs/ext4/migrate.c