Re: [NFS] [PATCH] Re: grow_inodes: inode-max limit reached - how to find/fix the inode leak?

From: Michael Riepe (michael@stud.uni-hannover.de)
Date: Thu Aug 31 2000 - 16:55:44 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:28 EST