From owner-freebsd-stable@FreeBSD.ORG Wed Mar 22 19:28:21 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C8B316A401; Wed, 22 Mar 2006 19:28:21 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423FD43D58; Wed, 22 Mar 2006 19:28:05 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.4/8.13.4) with ESMTP id k2MJS0W8032029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Mar 2006 14:28:04 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id k2MJRsp8046611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Mar 2006 14:27:55 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.4/8.13.4) with ESMTP id k2MJRnEX005993; Wed, 22 Mar 2006 14:27:49 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by mteterin.us.murex.com (8.13.4/8.13.4/Submit) id k2MJRj7Y005992; Wed, 22 Mar 2006 14:27:45 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: mteterin.us.murex.com: mteterin set sender to mi+mx@aldan.algebra.com using -f From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Matthew Dillon Date: Wed, 22 Mar 2006 14:27:44 -0500 User-Agent: KMail/1.8.3 References: <200603211607.30372.mi+mx@aldan.algebra.com> <200603221312.38502.mi+mx@aldan.algebra.com> <200603221903.k2MJ37Iq013571@apollo.backplane.com> In-Reply-To: <200603221903.k2MJ37Iq013571@apollo.backplane.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200603221427.45219.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV devel-20050525/1349/Tue Mar 21 17:54:43 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: Kostik Belousov , alc@freebsd.org, stable@freebsd.org Subject: flushing "anonymous" buffers over NFS is rejected by server (more weird bugs with mmap-ing via NFS) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 19:28:21 -0000 середа 22 березень 2006 14:03, Matthew Dillon Ви написали: >     I consider it a bug.  I think the only way to reliably fix the problem >     is to give the client the ability to specify the uid to issue RPCs with >     in the NFS mount command, to match what the export does. So, the problem is, the dirtied buffers _sometimes_ lose their owner and thus become root-owned. When the NFS client tries to flush them out, the NFS server (by default suspecting remote roots of being evil) rejects the flushing, which brings the client to its weak knees. 1. Do the yet unflushed buffers really have to be anonymous? 2. Can't the client's knees be strengthened in this regard? Thanks! -mi