[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1358068095-9034-3-git-send-email-wenqing.lz@taobao.com>
Date: Sun, 13 Jan 2013 17:08:15 +0800
From: Zheng Liu <gnehzuil.liu@...il.com>
To: linux-ext4@...r.kernel.org
Cc: Zheng Liu <wenqing.lz@...bao.com>
Subject: [PATCH 3/3] mke2fs: document bigalloc and cluster-size
From: Zheng Liu <wenqing.lz@...bao.com>
Bigalloc feature has been used for a long time, but the documentation in mke2fs
is still missing. So add it.
Signed-off-by: Zheng Liu <wenqing.lz@...bao.com>
---
misc/mke2fs.8.in | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/misc/mke2fs.8.in b/misc/mke2fs.8.in
index d4fbe00..ca3083d 100644
--- a/misc/mke2fs.8.in
+++ b/misc/mke2fs.8.in
@@ -187,6 +187,11 @@ Check the device for bad blocks before creating the file system. If
this option is specified twice, then a slower read-write
test is used instead of a fast read-only test.
.TP
+.B \-C " cluster-size"
+Specify the size of cluster in bytes. Valid cluster-size values are from
+2048 to 256M bytes per cluster. If omiited, cluster-size is 64KB by
+default.
+.TP
.B \-D
Use direct I/O when writing to the disk. This avoids mke2fs dirtying a
lot of buffer cache memory, which may impact other applications running
@@ -516,6 +521,12 @@ prefix the feature name with a caret ('^') character. The
pseudo-filesystem feature "none" will clear all filesystem features.
.RS 1.2i
.TP
+.B bigalloc
+Allow to allocate block-size beyond the 4096 bytes. That can decrease the time
+spent on doing block allocation and brings smaller fragmentation, especially
+for large files. The size can be specified using the
+.B \-C option.
+.TP
.B dir_index
Use hashed b-trees to speed up lookups in large directories.
.TP
--
1.7.12.rc2.18.g61b472e
--
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