From: Trond Myklebust Subject: Re: Re: broken umount -f Date: Tue, 14 Jan 2003 20:52:58 +0100 Sender: nfs-admin@lists.sourceforge.net Message-ID: <15908.27290.467724.590229@charged.uio.no> References: <6440EA1A6AA1D5118C6900902745938E07D551E8@black.eng.netapp.com> <20030114170755.GA18952@questra.com> <20030114143914.C15824@redhat.com> Reply-To: trond.myklebust@fys.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Trond Myklebust , Scott Mcdermott , nfs@lists.sourceforge.net Return-path: Received: from pat.uio.no ([129.240.130.16] ident=7411) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18YX7W-0007oo-00 for ; Tue, 14 Jan 2003 11:53:10 -0800 To: Benjamin LaHaise In-Reply-To: <20030114143914.C15824@redhat.com> Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: >>>>> " " == Benjamin LaHaise writes: > It's up to NFS to make the outstanding IOs against the > filesystem return -EIO. It does that. void nfs_umount_begin(struct super_block *sb) { struct nfs_server *server = NFS_SB(sb); struct rpc_clnt *rpc; /* -EIO all pending I/O */ if ((rpc = server->client) != NULL) rpc_killall_tasks(rpc); } What it does not do is hunt down every task that holds an open file, or has been started from an NFS directory. Cheers, Trond ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs