All of lore.kernel.org
 help / color / mirror / Atom feed
From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs2 mkfs/main_mkfs.c man/mkfs.gfs2.8
Date: 28 Nov 2006 18:35:29 -0000	[thread overview]
Message-ID: <20061128183529.8093.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso at sourceware.org	2006-11-28 18:35:28

Modified files:
	gfs2/mkfs      : main_mkfs.c 
	gfs2/man       : mkfs.gfs2.8 

Log message:
	Resolves: bz216902: mkfs.gfs2 allows non-4K block size.
	The executive decision was made to remove the -b option in mkfs.gfs2
	until we can get all of this sorted out with the gfs2 kernel.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mkfs/main_mkfs.c.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/man/mkfs.gfs2.8.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- cluster/gfs2/mkfs/main_mkfs.c	2006/07/10 22:51:10	1.8
+++ cluster/gfs2/mkfs/main_mkfs.c	2006/11/28 18:35:28	1.9
@@ -58,7 +58,6 @@
 	printf("\n");
 	printf("Options:\n");
 	printf("\n");
-	printf("  -b <bytes>       Filesystem block size\n");
 	printf("  -c <MB>          Size of quota change file\n");
 	printf("  -D               Enable debugging code\n");
 	printf("  -h               Print this help, then exit\n");
@@ -90,12 +89,9 @@
 	sdp->device_name = NULL;
 
 	while (cont) {
-		optchar = getopt(argc, argv, "-b:c:DhJ:j:Op:qr:t:u:VX");
+		optchar = getopt(argc, argv, "-c:DhJ:j:Op:qr:t:u:VX");
 
 		switch (optchar) {
-		case 'b':
-			sdp->bsize = atoi(optarg);
-			break;
 
 		case 'c':
 			sdp->qcsize = atoi(optarg);
@@ -195,7 +191,6 @@
 
 	if (sdp->debug) {
 		printf("Command Line Arguments:\n");
-		printf("  bsize = %u\n", sdp->bsize);
 		printf("  qcsize = %u\n", sdp->qcsize);
 		printf("  jsize = %u\n", sdp->jsize);
 		printf("  journals = %u\n", sdp->md.journals);
--- cluster/gfs2/man/mkfs.gfs2.8	2006/06/12 23:04:47	1.1
+++ cluster/gfs2/man/mkfs.gfs2.8	2006/11/28 18:35:28	1.2
@@ -15,14 +15,6 @@
 
 .SH OPTIONS
 .TP
-\fB-b\fP \fIBlockSize\fR 
-Set the filesystem block size to \fIBlockSize\fR (must be a power of
-two).  The minimum block size is 512.  The FS block size cannot exceed
-the machine's memory page size.  On the most architectures (i386,
-x86_64, s390, s390x), the memory page size is 4096 bytes.  On other
-architectures it may be bigger.  The default block size is 4096 bytes.
-In general, GFS2 filesystems should not deviate from the default value.
-.TP
 \fB-c MegaBytes\fP
 Initial size of each journal's quota change file
 .TP



             reply	other threads:[~2006-11-28 18:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 18:35 rpeterso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-28 18:40 [Cluster-devel] cluster/gfs2 mkfs/main_mkfs.c man/mkfs.gfs2.8 rpeterso
2006-11-28 18:41 rpeterso

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=20061128183529.8093.qmail@sourceware.org \
    --to=rpeterso@sourceware.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.