Hi all, This series fixes numerous bugs in mkfs with the validation and stripe aligning behavior of internal log size computations. After this, we don't allow overly large logs to bump the root inode chunk into AG 1, nor do we allow stripe unit roundup to cause the format to fail. There's also a fix for mkfs ignoring the gid in the user's protofile when the parent is setgid. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=mkfs-fixes --- include/xfs_inode.h | 11 ++++-- libxfs/util.c | 3 +- mkfs/proto.c | 3 +- mkfs/xfs_mkfs.c | 102 ++++++++++++++++++++++++++++++++++++++++----------- 4 files changed, 91 insertions(+), 28 deletions(-)