[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clarifications: CVS Import Bug - Please Respond
From: |
Mark D. Baushke |
Subject: |
Re: Clarifications: CVS Import Bug - Please Respond |
Date: |
Thu, 11 Aug 2005 11:04:12 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Derek Price <derek@ximbiot.com> writes:
> Mark D. Baushke wrote:
>
> > some odd race conditions with more than
> > one user trying to create write locks in the same directory at the same
> > time both believing they have obtained their exclusive lock.
>
>
> IIRC, this one had to do with clients caching the state of a directory.
> Something like both clients would query the lock directory's existence
> and if they had cached that it didn't exist, both would return a
> successful status code to a program before they get the failure response
> from the NFS server.
Yes, this is the problem.
> I've fixed that at least once (for running sanity.sh between two hosts)
> by setting the dir-cache-time for my NFS client to 0. On my Linux
> client the options are acdirmin=0,acdirmax=0 and can be set separately
> for each mount-point.
True, but most folks do not set them in any special way which leads to
the problem.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFC+5MbCg7APGsDnFERAmhMAJ9qxtd4MIlxH2Pjmt9QrR3zniQXgACeNWVT
vWH16NvFWHrtoWE8N1RUzms=
=6HOG
-----END PGP SIGNATURE-----
- Clarifications: CVS Import Bug - Please Respond, Oproescu Bogdan (KTXA 3), 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond, Derek Price, 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond, Mark D. Baushke, 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond, Derek Price, 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond,
Mark D. Baushke <=
- Re: Clarifications: CVS Import Bug - Please Respond, Larry Jones, 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond, Derek Price, 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond, Larry Jones, 2005/08/11
- Re: Clarifications: CVS Import Bug - Please Respond, Derek Price, 2005/08/12
- Re: Clarifications: CVS Import Bug - Please Respond, Larry Jones, 2005/08/11