From: Josef Bacik <josef@redhat.com>
To: "Ted Ts'o" <tytso@mit.edu>
Cc: Josef Bacik <josef@redhat.com>,
linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org,
viro@ZenIV.linux.org.uk
Subject: Re: [PATCH] fs: make i_generation a u64
Date: Thu, 12 Apr 2012 15:49:56 -0400 [thread overview]
Message-ID: <20120412194955.GO1924@localhost.localdomain> (raw)
In-Reply-To: <20120412194217.GC26332@thunk.org>
On Thu, Apr 12, 2012 at 03:42:17PM -0400, Ted Ts'o wrote:
> 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 <josef@redhat.com>
>
> 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....
>
It's just tied to our transaction id #'s which are 64bit, no super awesome
reason or anything. Thanks,
Josef
prev parent reply other threads:[~2012-04-12 19:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 20:42 [PATCH] fs: make i_generation a u64 Josef Bacik
2012-04-12 0:32 ` Chris Mason
2012-04-12 6:46 ` Marco Stornelli
2012-04-12 13:20 ` Josef Bacik
2012-04-12 13:56 ` Josef Bacik
2012-04-12 19:42 ` Ted Ts'o
2012-04-12 19:49 ` Josef Bacik [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=20120412194955.GO1924@localhost.localdomain \
--to=josef@redhat.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=tytso@mit.edu \
--cc=viro@ZenIV.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).