Date: Wed, 7 Aug 2002 22:46:27 -0700 From: Alfred Perlstein <bright@mu.org> To: Rashim Gupta <guptar@cs.rpi.edu> Cc: Terry Lambert <tlambert2@mindspring.com>, "David E. Cross" <crossd@cs.rpi.edu>, fs@freebsd.org Subject: Re: vnodes (UFS journaling)? Message-ID: <20020808054627.GE10953@elvis.mu.org> In-Reply-To: <Pine.GSO.4.31.0208072033520.24055-100000@dishwasher.cs.rpi.edu> References: <3D51A6A3.87B90E3B@mindspring.com> <Pine.GSO.4.31.0208072033520.24055-100000@dishwasher.cs.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
* Rashim Gupta <guptar@cs.rpi.edu> [020807 17:38] wrote: > > > we are trying to implement a logging facility for the File System. Hence > we need to open the log file and keep its vnode open throughout the > duration while the system is mounted. Hence, we cannot free the vnode > after searching for it using the root file system since we need to access > it later on. However, if we do not > return the vnode, then doing an "ls -al" in the dirctory where the log > file is present hangs the kernel. > > Any suggestions how we can solve this problem. Are you sure you're not leaving the vnode locked? Several vnode operations are not symmetrical, meaning that they may return a locked vnode or unlock a locked one, perhaps you are missing a VOP_UNLOCK somewhere? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808054627.GE10953>