Index: ci/xfsprogs/mkfs/xfs_mkfs.c =================================================================== --- ci.orig/xfsprogs/mkfs/xfs_mkfs.c 2008-02-25 14:36:56.000000000 +1100 +++ ci/xfsprogs/mkfs/xfs_mkfs.c 2008-02-25 14:39:38.249637450 +1100 @@ -412,7 +412,7 @@ /* * First handle the extremes - the points at which we will * always use the maximum AG size, the points at which we - * always use the minimum, and a "small-step" for 16-128MB. + * always use the minimum, and a "small-step" for 16-64MB. * * These apply regardless of storage configuration. */ @@ -423,13 +423,13 @@ blocks = dblocks; count = 1; goto done; - } else if (dblocks < MEGABYTES(128, blocklog)) { + } else if (dblocks < MEGABYTES(64, blocklog)) { blocks = MEGABYTES(16, blocklog); goto done; } /* - * Sizes between 128MB and 32TB: + * Sizes between 64MB and 32TB: * * For the remainder we choose an AG size based on the * number of data blocks available, trying to keep the @@ -444,7 +444,7 @@ * scale up smoothly between min/max AG sizes. */ - if (!multidisk) { + if (!multidisk || dblocks < MEGABYTES(128, blocklog)) { if (dblocks >= TERABYTES(4, blocklog)) { blocks = XFS_AG_MAX_BLOCKS(blocklog); goto done;