[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FC7A1D5.3040805@redhat.com>
Date: Thu, 31 May 2012 11:52:37 -0500
From: Eric Sandeen <sandeen@...hat.com>
To: ext4 development <linux-ext4@...r.kernel.org>
Subject: [PATCH] mke2fs: enable bigalloc if -C is specified
If -C is specified w/o -O bigalloc it has no effect and generates
no error. If a cluster size is specified, that should imply
bigalloc.
Signed-off-by: Eric Sandeen <sandeen@...hat.com>
---
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 7ec8cc2..d1944dc 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -1351,6 +1351,8 @@ profile_error:
optarg);
exit(1);
}
+ fs_param.s_feature_ro_compat |=
+ EXT4_FEATURE_RO_COMPAT_BIGALLOC;
break;
case 'D':
direct_io = 1;
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists