]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Fix default mkfs allocation group size calculations for filesystem sizes in the range...
authorNathan Scott <nathans@sgi.com>
Wed, 23 Mar 2005 02:56:57 +0000 (02:56 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 23 Mar 2005 02:56:57 +0000 (02:56 +0000)
Merge of master-melb:xfs-cmds:21926a by kenmcd.

mkfs/xfs_mkfs.c

index 8a8c38b44838e239e0feea801427aa1a0ccbd5f4..54ac335fe95cb447274a3b6bf79a448ef554ad80 100644 (file)
@@ -388,7 +388,7 @@ calc_default_ag_geometry(
         * always use the maximum AG size, the points at which we
         * always use the minimum, and a "small-step" for 16-128Mb.
         */
-       if (dblocks >= TERABYTES(64, blocklog)) {
+       if (dblocks >= TERABYTES(32, blocklog)) {
                blocks = XFS_AG_MAX_BLOCKS(blocklog);
                goto done;
        } else if (dblocks < MEGABYTES(16, blocklog)) {