xfs
[Top] [All Lists]

Re: [PATCH] default to 64 bit inodes & add feature flag

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] default to 64 bit inodes & add feature flag
From: Arkadiusz Miśkiewicz <arekm@xxxxxxxx>
Date: Wed, 7 Mar 2012 19:07:53 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maven.pl; s=maven; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; bh=deDKvA6kB3yIxNs+igDvPsNtpXaLoAYIbLwD5CCCWcs=; b=S2sz1zPLweve20PAqxxG6CSvIpt4JWxv9QmnwE5AvSJIxMpsavPHf/EiH8Gzma+cy7 RI/QvWS/qcvstnpdATkuidJq/uzkDWXsdfiY7CW/vHssEHRfO4I6dlbF1NhhRZnTEeeX F58gWVzX6OzsNfxjH+QVLj4a6qAGhmjSzY1kM=
In-reply-to: <20120307173313.GA20399@xxxxxxxxxxxxxx>
References: <4F5798F9.2050809@xxxxxxxxxx> <20120307173313.GA20399@xxxxxxxxxxxxxx>
User-agent: KMail/1.13.7 (Linux/3.3.0-rc5-00166-g1f033c1; KDE/4.8.1; x86_64; ; )
On Wednesday 07 of March 2012, Josef 'Jeff' Sipek wrote:
> On Wed, Mar 07, 2012 at 11:20:57AM -0600, Eric Sandeen wrote:
> > From: Dave Chinner <dchinner@xxxxxxxxxx>
> > 
> > Default to allowing 64-bit inodes on the filesystem.
> > 
> > Add a feature bit to the the superblock to record whether 64 bit inodes
> > have been allocated on the filesystem or not. This allows us to reject
> > mounting the filesytem with inode32 if 64 bit inodes are present.
> > 
> > Once a 64 bitinode is allocated, the inode64 superblock feature bit will
> > be set. Once the superblock feature bit is set, the filesystem will
> > default to 64 bit inodes regardless of whether inode64 is specified as a
> > mount option.
> > 
> > To ensure only 32 bit inodes are created, the inode32 mount option must
> > be used. If there are already 64 bit inodes as flagged by the superblock
> > feature bit, then the inode32 mount will be refused.
> > 
> > Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> Love it! 

+1 for love. I had too many problems with forgetting to mount with inode64 
option.

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

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