Date: Fri, 20 Jun 2003 22:57:07 +0400 (MSD) From: Andrey Alekseyev <uitm@blackflag.ru> To: freebsd-hackers@freebsd.org Cc: truckman@freebsd.org Subject: Re: open() and ESTALE error Message-ID: <200306201857.WAA00837@slt.oz> In-Reply-To: From uitm at "Jun 20, 3 10:35:08 pm"
next in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306201857.WAA00837>