Date: Sun, 29 May 2011 21:13:53 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/umount umount.c Message-ID: <201105292114.p4TLE4wR048575@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-05-29 21:13:53 UTC
FreeBSD src repository
Modified files:
sbin/umount umount.c
Log:
SVN rev 222466 on 2011-05-29 21:13:53Z by rmacklem
Modify the umount(8) command so that it doesn't do
a sync(2) syscall before unmount(2) for the "-f" case.
This avoids a forced dismount from getting stuck for
an NFS mountpoint in sync() when the server is not
responsive. With this commit, forced dismounts should
normally work for the NFS clients, but can take up to
about 1minute to complete.
PR: kern/157365
Reviewed by: kib
MFC after: 2 weeks
Revision Changes Path
1.51 +4 -3 src/sbin/umount/umount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105292114.p4TLE4wR048575>
