public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Niv Sardi <xaiki@sgi.com>
Cc: Eric Sandeen <sandeen@sandeen.net>, xfs@oss.sgi.com, xfs-dev@sgi.com
Subject: Re: [REVIEW] mkfs.xfs man page needs the default settings updated, TAKE 2.
Date: Thu, 6 Mar 2008 17:12:42 +1100	[thread overview]
Message-ID: <20080306061242.GG155407@sgi.com> (raw)
In-Reply-To: <ncczltcfoqu.fsf_-_@sgi.com>

On Thu, Mar 06, 2008 at 03:41:29PM +1100, Niv Sardi wrote:
> Thanks to Eric for the comments, is this better ?

Not much of a changelog....


> diff --git a/xfsprogs/man/man8/mkfs.xfs.8 b/xfsprogs/man/man8/mkfs.xfs.8
> index b6024c3..afc284c 100644
> --- a/xfsprogs/man/man8/mkfs.xfs.8
> +++ b/xfsprogs/man/man8/mkfs.xfs.8
> @@ -304,10 +304,16 @@ bits.
>  This specifies the maximum percentage of space in the filesystem that
>  can be allocated to inodes. The default
>  .I value
> -is 25%. Setting the
> +is 25% for filesystems under 1TB, 5% for filesystems under 50TB and 1%
> +for filesystems over 50TB. Setting the
>  .I value
> -to 0 means that essentially all of the filesystem can
> -become inode blocks.
> +to 0 means that essentially all of the filesystem can become inode
> +blocks. Note that this is only used by inode32 (on 32bits platforms),
> +and is ignored on 64bits platforms. On 32 bits platforms, we can only

This is wrong. inode32 is the default on 64 bit platforms as well,
and it matters then as well.

> +use the first TB of disk space for inodes, so the allocator will try

That's not strictly true, either - it depends on inode size; 2k inodes
stratch this to 8TB.

> +to avoid this region, hence miss-using the first AG if this is set to
> +high (the worst case is a 4TB filesystem where a full AG will be
> +untouched by anything but inodes with a 25% maxpct).

No, it doesn't "miss-use" this space - it reserves it for inodes and
metadata and prevents data allocation in those AGs until all other space
is consumed.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

      parent reply	other threads:[~2008-03-06  6:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04  5:36 [REVIEW] mkfs.xfs man page needs the default settings updated Niv Sardi
2008-03-04 15:38 ` Eric Sandeen
2008-03-04 15:46   ` Eric Sandeen
2008-03-06  4:41     ` [REVIEW] mkfs.xfs man page needs the default settings updated, TAKE 2 Niv Sardi
2008-03-06  5:29       ` Eric Sandeen
2008-03-06  6:19         ` David Chinner
2008-03-06  6:12       ` David Chinner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080306061242.GG155407@sgi.com \
    --to=dgc@sgi.com \
    --cc=sandeen@sandeen.net \
    --cc=xaiki@sgi.com \
    --cc=xfs-dev@sgi.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox