[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: David Holland <dholland-bugs%netbsd.org@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
Subject: Re: kern/38990: Unmounting a disk fails the first time
Date: Sun, 22 Jun 2008 01:20:11 +0000
On Sat, Jun 21, 2008 at 07:43:22PM -0400, Christos Zoulas wrote:
> | 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.
> Are you planning to hack amd too? And everything else that uses umount()?
amd doesn't need the hack; it unmounts idle volumes. In fact... if amd
uses EBUSY returns to test for volumes being idle, which it probably
does, putting the workaround into the system call might hose it up.
Anyway, this is begging the question. Is it worth putting a
sleep/retry workaround in? I'm not entirely convinced, which is why I
asked in the first place.
David A. Holland
Main Index |
Thread Index |