lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [NFS] [PATCH] Re: grow_inodes: inode-max limit reached - how to find/fix the inode leak?
On Thu, Aug 31, 2000 at 03:23:43PM +0200, Trond Myklebust wrote:

> Your patch does not seem correct to me. IMO you should rather be
> calling nlm_release_file() in both cases where you applied
> 'put_file()'.

No. In the first of two cases, lockd will call nlm_release_file()
on its own when the function returns. In the second case, we're being
called from inside nlm_traverse_files(), which holds a lock on the file
table -- nlm_release_file() would wait forever.

--
Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
"All I wanna do is have a little fun before I die"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.083 / U:4.128 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site