From owner-cvs-src-old@FreeBSD.ORG Sun May 29 21:14:04 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65D861065775 for ; Sun, 29 May 2011 21:14:04 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 557598FC18 for ; Sun, 29 May 2011 21:14:04 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4TLE4KK048576 for ; Sun, 29 May 2011 21:14:04 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4TLE4wR048575 for cvs-src-old@freebsd.org; Sun, 29 May 2011 21:14:04 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201105292114.p4TLE4wR048575@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Sun, 29 May 2011 21:13:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/umount umount.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2011 21:14:04 -0000 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