From owner-cvs-all Wed Jan 9 18:15:43 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ED28B37B419; Wed, 9 Jan 2002 18:15:35 -0800 (PST) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0A2FZm66862; Wed, 9 Jan 2002 18:15:35 -0800 (PST) (envelope-from iedowse) Message-Id: <200201100215.g0A2FZm66862@freefall.freebsd.org> From: Ian Dowse Date: Wed, 9 Jan 2002 18:15:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_socket.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/01/09 18:15:35 PST Modified files: sys/nfsclient nfs_socket.c Log: Terminate requests in nfs_sigintr() if the filesystem is in the process of being unmounted. This allows forced NFS unmounts to complete even if there are processes stuck holding the mnt_lock while the server is down. The mechanism is not ideal in that there is a small chance we might accidentally cancel requests during a failed non-forced unmount attempt on that filesystem, but this is not really a big problem. Also, move the tsleep() in nfs_nmcancelreqs() so that we do not sleep in the case where there are no requests to be cancelled. Revision Changes Path 1.75 +4 -1 src/sys/nfsclient/nfs_socket.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message