Re: directory attribute cache on NFS4 client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 01, 2008 at 04:40:04PM +0000, Ricardo Santos wrote:
> I'm checking the NFS client code to understand it, and I saw this:
> 
> -- inode.c
> int nfs_attribute_timeout(struct inode *inode)
> {
>         struct nfs_inode *nfsi = NFS_I(inode);
> 
>         if (nfs_have_delegation(inode, FMODE_READ))
>                 return 0;
> 
> --
> 
> So, if a inode has a delegation, will it never be timed out, until the
> delegation been free, right ?
> 
> If the delegated inode has been deleted ?

The server should recall the delegation before allowing the delegated
file to be deleted.  (The current linux server is buggy--it doesn't do
that.  Patches are on the way soon, I hope....)

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux