[OpenAFS-devel] Re: Breaking callbacks on unlink
chas williams - CONTRACTOR
chas@cmf.nrl.navy.mil
Wed, 25 Jan 2012 13:50:09 -0500
On Wed, 25 Jan 2012 10:58:11 -0600
Andrew Deason <adeason@sinenomine.net> wrote:
> thinking of anything in particular... but, Jeff already mentioned the
> possibility of the fileserver not actually deleting the file while
> callbacks on it are still active.
that would be the most ideal solution since you could get the posix
flavored behavior people know and love. it is somewhat like the case
of writing to a file that is renamed by another client while open --
this currently behaves as expected (atleast in modern clients). the
only difference here is that the delete should have done a
"sillyrename". when the last client drops its reference the
sillyrenaming by the server would end and it would actually delete the
file. or you could just let salvage eventually client up the files.