From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9JDmd9T259120 for ; Fri, 19 Oct 2012 08:48:40 -0500 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 1NlTSe7itIrs5Gpm for ; Fri, 19 Oct 2012 06:50:19 -0700 (PDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9JDoGPr023251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Oct 2012 09:50:18 -0400 Received: from andromeda.usersys.redhat.com (ovpn-113-113.phx2.redhat.com [10.3.113.113]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9JDoBLe002520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 19 Oct 2012 09:50:15 -0400 Date: Fri, 19 Oct 2012 10:50:11 -0300 From: Carlos Maiolino Subject: Re: [PATCH] mkfs: update manpage to match current inode allocation behaviour Message-ID: <20121019135010.GA15588@andromeda.usersys.redhat.com> References: <1350574957-1044-1-git-send-email-cmaiolino@redhat.com> <508084F5.5020602@sandeen.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <508084F5.5020602@sandeen.net> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com On Thu, Oct 18, 2012 at 05:38:45PM -0500, Eric Sandeen wrote: > On 10/18/12 10:42 AM, Carlos Maiolino wrote: > > Once inode64 is the default allocator, mkfs man page needs to be updated to > > match the current behaviour. > > > > Signed-off-by: Carlos Maiolino > > --- > > man/man8/mkfs.xfs.8 | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/man/man8/mkfs.xfs.8 b/man/man8/mkfs.xfs.8 > > index fa52152..c33cfb2 100644 > > --- a/man/man8/mkfs.xfs.8 > > +++ b/man/man8/mkfs.xfs.8 > > @@ -309,16 +309,17 @@ can be allocated to inodes. The default > > is 25% for filesystems under 1TB, 5% for filesystems under 50TB and 1% > > for filesystems over 50TB. > > .IP > > -In the default inode allocation mode, inode blocks are chosen such > > +In the inode32 inode allocation mode, inode blocks are chosen such > > that inode numbers will not exceed 32 bits, which restricts the inode > > blocks to the lower portion of the filesystem. The data block > > allocator will avoid these low blocks to accommodate the specified > > maxpct, so a high value may result in a filesystem with nothing but > > inodes in a significant portion of the lower blocks of the filesystem. > > -(This restriction is not present when the filesystem is mounted with > > +(This restriction is not present in the default inode allocation mode, > > +i.e. when the filesystem is mounted with > > the > > .I "inode64" > > -option on 64-bit platforms). > > +option). > > This is a little confusing - the "default" mode when "mounted with the -o inode64 option?" > > If you mount with -o anything that's not quite default - or at best restating defaults. > > How about: > > (This restriction is not present in the default inode allocation mode, > i.e. when the filesystem is mounted without the > .I "inode32" > option). > Fair enough. How about: "i.e. using inode64" or "i.e. inode64 mode" or even, rephasing everything: "This restriction is not present in the default (inode64) inode allocation mode I was thinking in something that would highlight inode64 as the default allocation mode > -Eric > > > .IP > > Setting the value to 0 means that essentially all of the filesystem > > can become inode blocks, subject to inode32 restrictions. > > > > _______________________________________________ > xfs mailing list > xfs@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/xfs -- --Carlos _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs