tech-kern archive

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

Re: [PATCH] Fixing soft NFS umount -f, round 1



Chuck Silvers <chuq%chuq.com@localhost> wrote:

> > 1) In umount(8), we called sync(2) before attempting a forced unmount(2),
> >    but sync(2) does not return before data is sent to storage, and 
> >    therefore we never had the opportunity to attempt the forced unmount
> >    when using -f
> 
> the sync() is never necessary, you can just remove it.

I committed that non-controversial bit.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index