In NFSv3, a client that unlinks an open file renames it to
.nfsjunkXXXX. In some cases, such as removing a directory,
via rm -r, the presence of open files makes the rm fail.
If the server told the client that it can remove open regular
files without fear of the file's filehandle producing NFS4ERR_STALE,
then clients could avoid the nfsXXXX kludge.
It might be nice if we could do this for directories too, but
that would require an open operation for directories.
|