NetBSD-Bugs archive

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

Re: kern/38990: Unmounting a disk fails the first time



On Sat, Jun 21, 2008 at 05:38:48PM -0400, Christos Zoulas wrote:
 > |  >  It's due to the kernel's 'vrele' thread. Sometimes we have to defer
 > |  >  VOP_INACTIVE because of the horrible locking requirements. It always
 > |  >  gets done for layered file systems. The delay is about one second.
 > | 
 > | Is it worth installing a workaround into umount(8)?
 > 
 > It is worth fixing the syscall :-)

Simplifying the locking isn't going to happen before branching.
Afterwards, though... maybe.

I was thinking that putting in a temporary hack of the form "sync();
sleep(1); retry" is a lot easier at userlevel, that's all.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index