linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev
@ 2007-07-01  7:36 Mingming Cao
  2007-07-10 23:30 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Mingming Cao @ 2007-07-01  7:36 UTC (permalink / raw)
  To: Andrew Morton, Theodore Tso, linux-fsdevel, linux-kernel,
	linux-ext4

Turn on extents feature by default in ext4 filesystem. User could use
-o noextents to turn it off.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>

Index: linux-2.6.22-rc4/fs/ext4/super.c
===================================================================
--- linux-2.6.22-rc4.orig/fs/ext4/super.c	2007-06-11 17:02:22.000000000 -0700
+++ linux-2.6.22-rc4/fs/ext4/super.c	2007-06-11 17:03:09.000000000 -0700
@@ -1546,6 +1546,12 @@
 
 	set_opt(sbi->s_mount_opt, RESERVATION);
 
+	/*
+	 * turn on extents feature by default in ext4 filesystem
+	 * User -o noextents to turn it off
+	 */
+	set_opt (sbi->s_mount_opt, EXTENTS);
+
 	if (!parse_options ((char *) data, sb, &journal_inum, &journal_devnum,
 			    NULL, 0))
 		goto failed_mount;



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev
  2007-07-10 23:30 ` Andrew Morton
@ 2007-07-10 21:35   ` Mingming Cao
  2007-07-11  3:35     ` Dave Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Mingming Cao @ 2007-07-10 21:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Theodore Tso, linux-fsdevel, linux-kernel, linux-ext4

On Tue, 2007-07-10 at 16:30 -0700, Andrew Morton wrote:
> On Sun, 01 Jul 2007 03:36:01 -0400
> Mingming Cao <cmm@us.ibm.com> wrote:
> 
> > Turn on extents feature by default in ext4 filesystem. User could use
> > -o noextents to turn it off.
> > 
> 
> Oh, there you go.
> 
> > 
> > Index: linux-2.6.22-rc4/fs/ext4/super.c
> > ===================================================================
> > --- linux-2.6.22-rc4.orig/fs/ext4/super.c	2007-06-11 17:02:22.000000000 -0700
> > +++ linux-2.6.22-rc4/fs/ext4/super.c	2007-06-11 17:03:09.000000000 -0700
> > @@ -1546,6 +1546,12 @@
> >  
> >  	set_opt(sbi->s_mount_opt, RESERVATION);
> >  
> > +	/*
> > +	 * turn on extents feature by default in ext4 filesystem
> > +	 * User -o noextents to turn it off
> > +	 */
> > +	set_opt (sbi->s_mount_opt, EXTENTS);
> > +
> 
> Broken coding style.
> 
> Please feed all the ext4 patches through scripts/checkpatch.pl (preferably
> version 0.07 - see Andy's patch on lkml) and then consider addressing the
> (quite large) number of mistakes which are detected.
> 

Sorry about this. I was using version 0.04. The latest one I can find
for now is 0.05(searching lkml), but it didn't catch this codling style
bug either. I appreciate if anyone can point me the version 0.07, thanks

Mingming

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev
  2007-07-01  7:36 [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev Mingming Cao
@ 2007-07-10 23:30 ` Andrew Morton
  2007-07-10 21:35   ` Mingming Cao
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2007-07-10 23:30 UTC (permalink / raw)
  To: cmm; +Cc: Theodore Tso, linux-fsdevel, linux-kernel, linux-ext4

On Sun, 01 Jul 2007 03:36:01 -0400
Mingming Cao <cmm@us.ibm.com> wrote:

> Turn on extents feature by default in ext4 filesystem. User could use
> -o noextents to turn it off.
> 

Oh, there you go.

> 
> Index: linux-2.6.22-rc4/fs/ext4/super.c
> ===================================================================
> --- linux-2.6.22-rc4.orig/fs/ext4/super.c	2007-06-11 17:02:22.000000000 -0700
> +++ linux-2.6.22-rc4/fs/ext4/super.c	2007-06-11 17:03:09.000000000 -0700
> @@ -1546,6 +1546,12 @@
>  
>  	set_opt(sbi->s_mount_opt, RESERVATION);
>  
> +	/*
> +	 * turn on extents feature by default in ext4 filesystem
> +	 * User -o noextents to turn it off
> +	 */
> +	set_opt (sbi->s_mount_opt, EXTENTS);
> +

Broken coding style.

Please feed all the ext4 patches through scripts/checkpatch.pl (preferably
version 0.07 - see Andy's patch on lkml) and then consider addressing the
(quite large) number of mistakes which are detected.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev
  2007-07-11  3:35     ` Dave Jones
@ 2007-07-11  3:15       ` Mingming Cao
  0 siblings, 0 replies; 5+ messages in thread
From: Mingming Cao @ 2007-07-11  3:15 UTC (permalink / raw)
  To: Dave Jones
  Cc: Andrew Morton, Theodore Tso, linux-fsdevel, linux-kernel,
	linux-ext4

On Tue, 2007-07-10 at 23:35 -0400, Dave Jones wrote:
> On Tue, Jul 10, 2007 at 05:35:13PM -0400, Mingming Cao wrote:
>  > 
>  > Sorry about this. I was using version 0.04. The latest one I can find
>  > for now is 0.05(searching lkml), but it didn't catch this codling style
>  > bug either. I appreciate if anyone can point me the version 0.07, thanks
> 
> It's now in-tree in scripts/checkpatch.pl
> (linus' tree is still at 0.06 though, I suspect Andrew has something
>  newer in -mm)
> 

Thanks, Andy has uploaded the 0.07 version at
http://www.shadowen.org/~apw/public/checkpatch/checkpatch.pl-0.07


Mingming

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev
  2007-07-10 21:35   ` Mingming Cao
@ 2007-07-11  3:35     ` Dave Jones
  2007-07-11  3:15       ` Mingming Cao
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Jones @ 2007-07-11  3:35 UTC (permalink / raw)
  To: Mingming Cao
  Cc: Andrew Morton, Theodore Tso, linux-fsdevel, linux-kernel,
	linux-ext4

On Tue, Jul 10, 2007 at 05:35:13PM -0400, Mingming Cao wrote:
 > 
 > Sorry about this. I was using version 0.04. The latest one I can find
 > for now is 0.05(searching lkml), but it didn't catch this codling style
 > bug either. I appreciate if anyone can point me the version 0.07, thanks

It's now in-tree in scripts/checkpatch.pl
(linus' tree is still at 0.06 though, I suspect Andrew has something
 newer in -mm)

	Dave

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-11  3:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-01  7:36 [EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev Mingming Cao
2007-07-10 23:30 ` Andrew Morton
2007-07-10 21:35   ` Mingming Cao
2007-07-11  3:35     ` Dave Jones
2007-07-11  3:15       ` Mingming Cao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).