2002-07-22 07:59:25

by Nils O. Selåsdal

[permalink] [raw]
Subject: NFS unlink race?

Seems like there went some patches into 2.5 to fix some nfs unlink races
(http://linux.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|ChangeSet@-1d)
Does this race apply to 2.4 as well? And might that explain why my dbench run on
a nfs mount always fails to clean up some temp files at the end?
--
[email protected]


2002-07-22 08:43:18

by Trond Myklebust

[permalink] [raw]
Subject: Re: NFS unlink race?

>>>>> " " == Nils O Sel?sdal <[email protected]> writes:

> Seems like there went some patches into 2.5 to fix some nfs
> unlink races
> (http://linux.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|ChangeSet@-1d)
> Does this race apply to 2.4 as well? And might that explain why

A race exists, but it won't explain your problem. The nature of the
race is rather that it will cause a program to crash with ESTALE
errors if it tries to open the file at the exact same time as somebody
else is trying to erase it.

Cheers,
Trond