Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 19:44:57 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Paul Saab <ps@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/nfsclient nfs_vnops.c nfsnode.h
Message-ID:  <20041216194457.GU38136@submonkey.net>
In-Reply-To: <200412161928.iBGJScE8059350@repoman.freebsd.org>
References:  <200412161928.iBGJScE8059350@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--fryGc0vzirnrYIcd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 16, 2004 at 07:28:37PM +0000, Paul Saab wrote:
> ps          2004-12-16 19:28:37 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     sys/nfsclient        nfs_vnops.c nfsnode.h=20
>   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
>  =20
>           .nfs.0000b31a.00d24.4
>                ^^^^^^^^ ^^^^^
>                ticks    pid
>  =20
> | @@ -2462,18 +2463,23 @@ nfs_sillyrename(struct vnode *dvp, struc
> |  	sp->s_removeit =3D nfs_removeit;
> |  	VREF(dvp);
> | =20
> | -	/* Fudge together a funny name */
> | +	/*=20
> | +	 * Fudge together a funny name.
> | +	 * Changing the format of the funny name to accomodate more=20
> | +	 * sillynames per directory.

Do we need that sentence in the code?

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

Ceri
--=20
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

--fryGc0vzirnrYIcd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBweW5ocfcwTS3JF8RAtkWAJ98PLIV3k8Y8WUI5dwM0gRX2SVuagCeMHjp
GcuGJkbx0hNwZJeNf7esiFU=
=mbLT
-----END PGP SIGNATURE-----

--fryGc0vzirnrYIcd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041216194457.GU38136>