Date: Wed, 10 Feb 2010 20:17:46 +0000 (UTC) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/newfs mkfs.c newfs.c newfs.h Message-ID: <201002102017.o1AKHwJY069052@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2010-02-10 20:17:46 UTC FreeBSD src repository Modified files: sbin/newfs mkfs.c newfs.c newfs.h Log: SVN rev 203764 on 2010-02-10 20:17:46Z by mckusick Ensure that newfs will never create a filesystem with more than 2^32 inodes by cutting back on the number of inodes per cylinder group if necessary to stay under the limit. For a default (16K block) file system, this limit begins to take effect for file systems above 32Tb. This fix is in addition to -r203763 which corrected a problem in the kernel that treated large inode numbers as negative rather than unsigned. For a default (16K block) file system, this bug began to show up at a file system size above about 16Tb. Reported by: Scott Burns, John Kilburg, Bruce Evans Followup by: Jeff Roberson PR: 133980 MFC after: 2 weeks Revision Changes Path 1.99 +35 -1 src/sbin/newfs/mkfs.c 1.90 +0 -46 src/sbin/newfs/newfs.c 1.22 +32 -0 src/sbin/newfs/newfs.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002102017.o1AKHwJY069052>