cvs commit: src/sys/nfsclient nfs_vnops.c nfsnode.h

Ceri Davies ceri at submonkey.net
Sun Jul 3 00:56:59 GMT 2005


On Thu, Dec 16, 2004 at 07:28:37PM +0000, Paul Saab wrote:
> ps          2004-12-16 19:28:37 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/nfsclient        nfs_vnops.c nfsnode.h 
>   Log:
>   Change the NFS sillyrename convention so that we won't run out
>   of sillyrenames (which were limited to 58 per pid per directory,
>   for no good reason). The new format of sillyrenames looks like
>   
>           .nfs.0000b31a.00d24.4
>                ^^^^^^^^ ^^^^^
>                ticks    pid
>   
> | @@ -2462,18 +2463,23 @@ nfs_sillyrename(struct vnode *dvp, struc
> |  	sp->s_removeit = nfs_removeit;
> |  	VREF(dvp);
> |  
> | -	/* Fudge together a funny name */
> | +	/* 
> | +	 * Fudge together a funny name.
> | +	 * Changing the format of the funny name to accomodate more 
> | +	 * sillynames per directory.

Do we need that sentence in the code?

> | +	 * The name is now changed to .nfs.<ticks>.<pid>.4, where ticks is 
> | +	 * CPU ticks since boot.
> | +	 */

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050703/d4f354f3/attachment.bin


More information about the cvs-src mailing list