From owner-freebsd-current Thu Oct 24 7:26:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1A3637B401 for ; Thu, 24 Oct 2002 07:26:58 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D0443E75 for ; Thu, 24 Oct 2002 07:26:56 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.10) id 184iwZ-000C03-00; Thu, 24 Oct 2002 16:26:39 +0200 Date: Thu, 24 Oct 2002 16:26:39 +0200 From: Sheldon Hearn To: Terry Lambert Cc: Vitaly Markitantov , current@FreeBSD.ORG Subject: Re: smbfs broken? Message-ID: <20021024142639.GA46022@starjuice.net> Mail-Followup-To: Terry Lambert , Vitaly Markitantov , current@FreeBSD.ORG References: <3DB664D0.FE0B8018@mindspring.com> <20021023152144.GA10351@iron.del.local> <20021023160014.GM661@starjuice.net> <3DB6EB16.2025AAE3@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB6EB16.2025AAE3@mindspring.com> User-Agent: Mutt/1.5.1i X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *184iwZ-000C03-00*9wpuvKaTeXg* Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On (2002/10/23 11:31), Terry Lambert wrote: > AHA! > > The reason an FFS write resulted in an SMBFS read is that > you had mmap()'ed an SMBFS file, and then wrote a mapped > but-not-in-core page to the target FFS file. Well, a similar problem occurred with cat(1), which doesn't use mmap(). However, I should have included in my message that the following messages are received from the kernel: Oct 23 17:53:02 axl kernel: smbfs_getpages: error 60 Oct 23 17:53:02 axl kernel: vm_fault: pager read error, pid 8022 (cp) Oct 23 17:58:18 axl kernel: smbfs_getpages: error 4 Oct 23 17:58:18 axl kernel: vm_fault: pager read error, pid 8087 (cp) This supports your theory. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message