[OpenAFS-devel] Re: What is needed to build an AFS fileserver on top of BTRFS?

David Howells dhowells@redhat.com
Tue, 17 Dec 2013 17:40:45 +0000


Chris Mason <clm@fb.com> wrote:

> Hmmm, what exactly are vnodes?  Could we put them in xattrs?

vnode numbers are AFS's equivalent of inode numbers.  Since they're one per
file, they could be the object filename.

Probably there would have to be a table of {vnode,latest_uniquifier} as the
uniquifier must still go up even if the vnode is unused for a while, so there
could also be a table of {vnode,btrfs_file}.

David