From: Eric Sandeen <sandeen@redhat.com>
To: ext4 development <linux-ext4@vger.kernel.org>
Subject: [PATCH] mke2fs: enable bigalloc if -C is specified
Date: Thu, 31 May 2012 11:52:37 -0500 [thread overview]
Message-ID: <4FC7A1D5.3040805@redhat.com> (raw)
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@redhat.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;
next reply other threads:[~2012-05-31 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-31 16:52 Eric Sandeen [this message]
2012-05-31 20:44 ` [PATCH] mke2fs: enable bigalloc if -C is specified Eric Sandeen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FC7A1D5.3040805@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).