tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PUFFS and existing file that get ENOENT



hi,

> On Mon, Jan 16, 2012 at 06:25:39AM +0000, YAMAMOTO Takashi wrote:
>> it should retry from puffs_cookie2pnode in that case.
> 
> I also need to build a test case that reliabiliy reproduce the bug. 
> For now I run our build.sh -Uo release and come back the next day, 
> this is not very convenient.
> 
> As I understand, I need to lookup a node I arealdy node but is beeing
> recycled. When does the kernel decide to recycle a vnode?

when the kernel wants to cache other files.
ie. whenever the kernel decides to reclaim it. :-)
you can increase the chance by running
        while :;do sysctl -w kern.maxvnodes=0; done
or something like that.

YAMAMOTO Takashi

> 
> -- 
> Emmanuel Dreyfus
> manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index