Re: [patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread Christoph Lameter
On Fri, 18 May 2007, Jan Engelhardt wrote: > > On May 18 2007 11:10, [EMAIL PROTECTED] wrote: > >+ > >+static struct kmem_cache_ops ext2_kmem_cache_ops = { > >+ext2_get_inodes, > >+kick_inodes > >+}; > >+ > > We love C99 names: > > static struct kmem_cache_ops ext2_kmem_cache_ops = { >

Re: [patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread Jan Engelhardt
On May 18 2007 11:10, [EMAIL PROTECTED] wrote: >+ >+static struct kmem_cache_ops ext2_kmem_cache_ops = { >+ ext2_get_inodes, >+ kick_inodes >+}; >+ We love C99 names: static struct kmem_cache_ops ext2_kmem_cache_ops = { .get = ext2_get_inodes, .kick = kick_inodes, };

[patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread clameter
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/ext2/super.c | 16 ++-- fs/ext3/super.c | 14 +- fs/ext4/super.c | 15 ++- 3 files changed, 41 insertions(+), 4 deletions(-) Index: slub/fs/ext2/super.c

[patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread clameter
Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/ext2/super.c | 16 ++-- fs/ext3/super.c | 14 +- fs/ext4/super.c | 15 ++- 3 files changed, 41 insertions(+), 4 deletions(-) Index: slub/fs/ext2/super.c

Re: [patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread Jan Engelhardt
On May 18 2007 11:10, [EMAIL PROTECTED] wrote: + +static struct kmem_cache_ops ext2_kmem_cache_ops = { + ext2_get_inodes, + kick_inodes +}; + We love C99 names: static struct kmem_cache_ops ext2_kmem_cache_ops = { .get = ext2_get_inodes, .kick = kick_inodes, };

Re: [patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread Christoph Lameter
On Fri, 18 May 2007, Jan Engelhardt wrote: On May 18 2007 11:10, [EMAIL PROTECTED] wrote: + +static struct kmem_cache_ops ext2_kmem_cache_ops = { +ext2_get_inodes, +kick_inodes +}; + We love C99 names: static struct kmem_cache_ops ext2_kmem_cache_ops = { .get =