lkml.org 
[lkml]   [1999]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Bug in knfsd unlink.
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.936 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site