From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ted Ts'o Subject: Re: [PATCH] fs: make i_generation a u64 Date: Thu, 12 Apr 2012 15:42:17 -0400 Message-ID: <20120412194217.GC26332@thunk.org> References: <1334176968-8687-1-git-send-email-josef@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, viro@ZenIV.linux.org.uk To: Josef Bacik Return-path: Content-Disposition: inline In-Reply-To: <1334176968-8687-1-git-send-email-josef@redhat.com> Sender: linux-btrfs-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Apr 11, 2012 at 04:42:48PM -0400, Josef Bacik wrote: > Btrfs stores generation numbers as 64bit numbers, which means we have to > carry around a u64 in our incore inode in addition to setting i_generation. > So convert to a u64 so btrfs can kill it's incore generation. Thanks, > > Signed-off-by: Josef Bacik Why is btrfs using a 64-bit generation number, out of curiosity? The only user of the inode generation number as far as I can tell is NFS, and even NFSv4 is using a 32-bit generation number.... - Ted