Messages in this thread | | | Subject | Re: Bug in knfsd unlink. | Date | Mon, 15 Feb 1999 23:48:48 -0800 | From | "G. Allen Morris III" <> |
| |
The problem (as Trod said) is that the cache only gets flushed if find_fh_dentry(...) is called. So is the server is not accessed then the cache never gets flushed.
I see three ways to solve this problem:
1. have a user daemon make a system call periodically. 2. have a user daemon send a signal periodically 3. have the kernel call a subroutine periodically.
To me 3. is the best solution, but I don't know how to set an alarm in the kernel.
I'll keep looking.
Allen
>>>"G. Allen Morris III" said: > Thierry Danis <danis@mail.dotcom.fr> has found an interesting > bug in knfsd. If you delete a file on a client and then > never access the sever again the deleted inode is not released > and the diskspace is not freed. The script below demostrates the > problem. >
--------------------------------- G. Allen Morris III
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |