xfs
[Top] [All Lists]

Re: ADD 977766 - mkfs.xfs man page needs the default settings updated. [

To: "David Chinner" <dgc@xxxxxxx>
Subject: Re: ADD 977766 - mkfs.xfs man page needs the default settings updated. [REVIEW TAKE 3]
From: "Niv Sardi" <xaiki@xxxxxxxxxxxxx>
Date: Mon, 10 Mar 2008 17:15:04 +1100
Cc: "Niv Sardi" <xaiki@xxxxxxx>, sgi.bugs.xfs@xxxxxxxxxxxxxxxxx, xfs-dev@xxxxxxx, xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=5Hw7WgZDsmjQRZRJG2FEBmrVC6jg7dTGG9hjXI4LsdA=; b=iw5DFTxfaAafy8Ykc3XJCJ71N0qjUjutvhThZ4mphKCFt/5h0tgcbnfMF552Iww0NVzViQWOL7o2VPMQ/TtbUIg1YXDJkAHMzhxNfcgzuopLR5jQdsniM0ekqziVAznlSBE9jyf85zeyJwYEXKSHOWT0R0G0G5UhhYv8INLH1h8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MBqAF7PoRFvqzna606a/uuf6e1u+Ol5TxNrvzsEuFakw2bWsGXZHm3ZokPQSMsIfjj4hmcUXaJGqSVEWrfZubWO/nk+lsHnjCjpx8tR8K9uo03HVT258BY9FxgWvDY4GyN14+8gRo8FohfFm7jRj4abKFYMUasz4PqUrGfymmk4=
In-reply-to: <20080310060751.GY155407@sgi.com>
References: <incident_977766@bugworks.engr.sgi.com> <20080222003514.8D88E2C3@toolshop.engr.sgi.com> <nccskzlzg9f.fsf_-_@sgi.com> <nccablbf8ra.fsf_-_@sgi.com> <20080310060751.GY155407@sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
On Mon, Mar 10, 2008 at 5:07 PM, David Chinner <dgc@xxxxxxx> wrote:
> On Fri, Mar 07, 2008 at 03:39:05PM +1100, Niv Sardi wrote:
>  > Incorporated Eric's changes, last call does it look good to everyone
>
>  > @@ -387,17 +399,13 @@ With some combinations of filesystem block size, 
> inode size,
>  >  and directory block size, the minimum log size is larger than 512 blocks.
>  >  .TP
>  >  .BI version= value
>  > -This specifies the version of the log. The
>  > -.I value
>  > -is either 1 or 2. Specifying
>  > -.B version=2
>  > -enables the
>  > -.B sunit
>  > -suboption, and allows the logbsize to be increased beyond 32K.
>  > -Version 2 logs are automatically selected if a log stripe unit
>  > -is specified.  See
>  > -.BR sunit " and " su
>  > -suboptions, below.
>  > +This specifies the version of the log. The current default is 2,
>  > +which allows for larger log buffer sizes, as well as supporting
>  > +stripe-aligned log writes (see the sunit and su options, below).
>  > +.IP
>  > +The previous version 1, which is limited to 32k log buffers and does
>  > +not support stripe-aligned writes, is kept for backwards compatibility
>  > +with very old 2.4 kernels.

>  I don't like this change. You're removing specific references to the
>  commands needed to set sunit, or how to set the version number, and what
>  the default behaviour on stripe aligned filesystems are.

Right that should be added back.

>  Secondly, version one logs are not being kept around for backwards
>  compatibility reasons. It's a valid, supported configuration, and in
>  some cases performs better than version 2 logs....

Can you be more specific ? the man page should document when this is
better supported and I believe you're the one that has the best
knowledge about that.

>  Realistically, I see no need for changing this text except to add that
>  the default is version 2.

The change was motivated by Eric's comments on OSS that it is not
clear why one should pick log v1 or v2, and I believe he is right.

Cheers,
--
Niv Sardi


<Prev in Thread] Current Thread [Next in Thread>