Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 13:40:28 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        uitm@blackflag.ru
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: open() and ESTALE error
Message-ID:  <200306202040.h5KKeSM7060691@gw.catspoiler.org>
In-Reply-To: <200306201857.WAA00837@slt.oz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20 Jun, Andrey Alekseyev wrote:
>> Eh, but the generation number for file1 should have been changed! This will
> 
> I'm sorry, the generation number is not changed in your scenario. Thus,
> I believe if the sequence of actions on the server is 
> 
> mv file1 tmpfile
> mv file2 file1
> mv tmpfile file1
> 
> like you described, it's safe to continue to use a cached file handle
> for file1 on the server since it still references the original file.
> And file2 just disappears from the server.

Well just its contents ... but this still violates POLA.



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