On Fri, Aug 21, 2009 at 02:59:18PM -0500, Nicolas Williams wrote: > On Fri, Aug 21, 2009 at 09:31:43PM +0200, Roland Mainz wrote: > > BTW: Does the Solaris NFSv4 client support volatile filehandles ? > > Supporting volatile FHs should be easy to do since recovering from a > stale volatile FH is like NFSv4 recovery in general, only for a single > FH. So the code should mostly be there already.
Just glancing at the code it seems that the Solaris NFSv4 client does support volatile FHs. > > > The Solaris NFSv4 server does not support volatile filehandles. > > > > Is there a bugid for this ? > > [Actually, I could have been wrong about that.] > > Not that I know of, but I wouldn't be one to know. A quick search > doesn't yield obvious CRs; I'd have to look more carefully, but I'll > leave it to those more likely to know. There is code in the Solaris NFSv4 server for volatile, most of it #ifdef'ed out (VOLATILE_FH_TEST). Adding a pathconf by which to discover whether a filesystem has volatile handles would make it possible to un-ifdef out the relevant code.