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



The following reply was made to PR kern/38990; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: David Holland <dholland-bugs%netbsd.org@localhost>, 
gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
        netbsd-bugs%netbsd.org@localhost, apb%cequrux.com@localhost
Subject: Re: kern/38990: Unmounting a disk fails the first time
Date: Sat, 21 Jun 2008 17:38:48 -0400

 On Jun 21,  8:39pm, dholland-bugs%netbsd.org@localhost (David Holland) wrote:
 -- Subject: Re: kern/38990: Unmounting a disk fails the first time
 
 | On Fri, Jun 20, 2008 at 09:30:02AM +0000, Andrew Doran wrote:
 |  >>  $ sudo mount -t ffs /dev/sd0e /mnt
 |  >>  $ rsync /something/ /mnt/something/ # a large directory tree
 |  >>  $ sudo umount /mnt
 |  >>  umount: /mnt: Device busy
 |  >>  $ sync ; sleep 1 ; sync ; sleep 1 ; sync
 |  >>  $ sudo umount /mnt
 |  >>  [ no error ]
 |  >  
 |  >  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 :-)
 
 christos
 


Home | Main Index | Thread Index | Old Index