public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mkfs: update manpage to match current inode allocation behaviour
@ 2012-10-18 15:42 Carlos Maiolino
  2012-10-18 22:38 ` Eric Sandeen
  2012-11-02 22:20 ` Mark Tinguely
  0 siblings, 2 replies; 5+ messages in thread
From: Carlos Maiolino @ 2012-10-18 15:42 UTC (permalink / raw)
  To: xfs

Once inode64 is the default allocator, mkfs man page needs to be updated to
match the current behaviour.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
---
 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).
 .IP
 Setting the value to 0 means that essentially all of the filesystem
 can become inode blocks, subject to inode32 restrictions.
-- 
1.7.11.7

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] mkfs: update manpage to match current inode allocation behaviour
  2012-10-18 15:42 [PATCH] mkfs: update manpage to match current inode allocation behaviour Carlos Maiolino
@ 2012-10-18 22:38 ` Eric Sandeen
  2012-10-19 13:50   ` Carlos Maiolino
  2012-11-02 22:20 ` Mark Tinguely
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2012-10-18 22:38 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: xfs

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 <cmaiolino@redhat.com>
> ---
>  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).

-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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mkfs: update manpage to match current inode allocation behaviour
  2012-10-18 22:38 ` Eric Sandeen
@ 2012-10-19 13:50   ` Carlos Maiolino
  0 siblings, 0 replies; 5+ messages in thread
From: Carlos Maiolino @ 2012-10-19 13:50 UTC (permalink / raw)
  To: xfs

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 <cmaiolino@redhat.com>
> > ---
> >  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mkfs: update manpage to match current inode allocation behaviour
  2012-10-18 15:42 [PATCH] mkfs: update manpage to match current inode allocation behaviour Carlos Maiolino
  2012-10-18 22:38 ` Eric Sandeen
@ 2012-11-02 22:20 ` Mark Tinguely
  2012-11-02 22:24   ` Ben Myers
  1 sibling, 1 reply; 5+ messages in thread
From: Mark Tinguely @ 2012-11-02 22:20 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: xfs

On 10/18/12 10:42, 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<cmaiolino@redhat.com>
> ---
>   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).
>   .IP
>   Setting the value to 0 means that essentially all of the filesystem
>   can become inode blocks, subject to inode32 restrictions.

Reviewed-by: Mark Tinguely <tinguely@sgi.com>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mkfs: update manpage to match current inode allocation behaviour
  2012-11-02 22:20 ` Mark Tinguely
@ 2012-11-02 22:24   ` Ben Myers
  0 siblings, 0 replies; 5+ messages in thread
From: Ben Myers @ 2012-11-02 22:24 UTC (permalink / raw)
  To: Mark Tinguely; +Cc: Carlos Maiolino, xfs

On Fri, Nov 02, 2012 at 05:20:43PM -0500, Mark Tinguely wrote:
> On 10/18/12 10:42, 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<cmaiolino@redhat.com>
> >---
> >  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).
> >  .IP
> >  Setting the value to 0 means that essentially all of the filesystem
> >  can become inode blocks, subject to inode32 restrictions.
> 
> Reviewed-by: Mark Tinguely <tinguely@sgi.com>

Oh, wow.  That's a good candidate for the userspace release.  ;)
-Ben

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-02 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 15:42 [PATCH] mkfs: update manpage to match current inode allocation behaviour Carlos Maiolino
2012-10-18 22:38 ` Eric Sandeen
2012-10-19 13:50   ` Carlos Maiolino
2012-11-02 22:20 ` Mark Tinguely
2012-11-02 22:24   ` Ben Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox