Patchwork [RFC] mke2fs.conf: Enable 64bit feature by default

login
register
mail settings
Submitter Lukas Czerner
Date June 21, 2013, 2:42 p.m.
Message ID <1371825747-9031-1-git-send-email-lczerner@redhat.com>
Download mbox | patch
Permalink /patch/253234/
State New
Headers show

Comments

Lukas Czerner - June 21, 2013, 2:42 p.m.
The 64bit feature has been added to the ext4 a long time ago (2006?) so
it should be ok to enable it by default by now. This would allow us to
resize the file system past 16TB when it was originally smaller than
that and user did not specified 64bit feature manually.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 misc/mke2fs.conf.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Lukas Czerner - March 3, 2014, 3:47 p.m.
On Fri, 21 Jun 2013, Lukas Czerner wrote:

> Date: Fri, 21 Jun 2013 16:42:27 +0200
> From: Lukas Czerner <lczerner@redhat.com>
> To: linux-ext4@vger.kernel.org
> Cc: Lukas Czerner <lczerner@redhat.com>
> Subject: [RFC][PATCH] mke2fs.conf: Enable 64bit feature by default

Hi Ted,

are you going to take this in ?

Thanks!
-Lukas

> 
> The 64bit feature has been added to the ext4 a long time ago (2006?) so
> it should be ok to enable it by default by now. This would allow us to
> resize the file system past 16TB when it was originally smaller than
> that and user did not specified 64bit feature manually.
> 
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>
> ---
>  misc/mke2fs.conf.in | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
> index 178733f..dde3219 100644
> --- a/misc/mke2fs.conf.in
> +++ b/misc/mke2fs.conf.in
> @@ -11,8 +11,7 @@
>  		features = has_journal
>  	}
>  	ext4 = {
> -		features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
> -		auto_64-bit_support = 1
> +		features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,64bit
>  		inode_size = 256
>  	}
>  	ext4dev = {
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
index 178733f..dde3219 100644
--- a/misc/mke2fs.conf.in
+++ b/misc/mke2fs.conf.in
@@ -11,8 +11,7 @@ 
 		features = has_journal
 	}
 	ext4 = {
-		features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
-		auto_64-bit_support = 1
+		features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,64bit
 		inode_size = 256
 	}
 	ext4dev = {