xfs
[Top] [All Lists]

Re: are xfs handles persistent

To: Martin.Gasthuber@xxxxxxx
Subject: Re: are xfs handles persistent
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Fri, 20 Aug 2004 10:56:14 -0500
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
>From:  Martin Gasthuber <Martin.Gasthuber@xxxxxxx>
>Hi,
>
>   in order to use xfs as a fast hierarchical namespace service (just 
>the nameservice, no data) we need to have an external reference for an 
>xfs file object. The '*_by_handle()' suite of functions seems to 
>generate a unique handle for referencing xfs objects. Unclear is - are 
>these handles persistent ??? i.e. retrieve handle - store it externally 

Yes, the handle is unique to a particular generation of the inode.  As long as
the inode isn't unlinked and reused for a new file that handle will always
lead you back to that same inode.

Dean


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