From owner-freebsd-bugs Wed Jun 4 08:39:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA04722 for bugs-outgoing; Wed, 4 Jun 1997 08:39:56 -0700 (PDT) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA04717 for ; Wed, 4 Jun 1997 08:39:54 -0700 (PDT) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.5/8.8.5) with SMTP id QAA14111; Wed, 4 Jun 1997 16:39:37 +0100 (BST) Date: Wed, 4 Jun 1997 16:39:37 +0100 (BST) From: Doug Rabson To: John Polstra cc: freebsd-bugs@hub.freebsd.org Subject: Re: kern/3771 NFS hangs when writing to local FS re-mounted via NFS In-Reply-To: <199706041450.HAA01780@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 4 Jun 1997, John Polstra wrote: > The following reply was made to PR kern/3771; it has been noted by GNATS. > > From: John Polstra > To: freebsd-gnats-submit@freebsd.org > Cc: Chris Timmons > Subject: Re: kern/3771 NFS hangs when writing to local FS re-mounted via NFS > Date: Wed, 04 Jun 1997 07:40:47 -0700 > > > mount localhost:/ mnt > > cp /mnt/tmp/junkfile /tmp/junkfile.copy [this works ok > > cp /tmp/junkfile /mnt/tmp/junkfile.dead [this hangs the system] > > Chris Timmons has pointed out in private mail that this looks like > it might be caused by a more general problem with the loopback > interface that I and others have noticed. Could you please try > the same test again, but using your real host name instead of > "localhost" for the mount? There is a deadly embrace style deadlock when you loopback mount a filesystem using NFSv3. I don't plan to try and fix this since I don't think loopback mounts are useful other than for trivial testing. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039