From owner-freebsd-current@FreeBSD.ORG Fri Apr 22 15:38:46 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D457916A4CE; Fri, 22 Apr 2005 15:38:45 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.3/8.13.1) with ESMTP id j3MFZMOR087413; Fri, 22 Apr 2005 11:35:22 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.3/8.13.1/Submit) id j3MFZMbb087412; Fri, 22 Apr 2005 11:35:22 -0400 (EDT) (envelope-from green) Date: Fri, 22 Apr 2005 11:35:22 -0400 From: Brian Fundakowski Feldman To: Garrett Wollman Message-ID: <20050422153522.GN1157@green.homeunix.org> References: <20050419204723.GG1157@green.homeunix.org> <20050420140409.GA77731@stack.nl> <20050420142448.GH1157@green.homeunix.org> <20050420143842.GB77731@stack.nl> <20050420152038.GI1157@green.homeunix.org> <20050420153528.GC77731@stack.nl> <20050420155233.GJ1157@green.homeunix.org> <16998.37222.529748.205885@khavrinen.csail.mit.edu> <20050422150835.GM1157@green.homeunix.org> <17001.6159.521697.442481@khavrinen.csail.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17001.6159.521697.442481@khavrinen.csail.mit.edu> User-Agent: Mutt/1.5.6i cc: freebsd-hackers@FreeBSD.ORG cc: freebsd-current@FreeBSD.ORG Subject: Re: NFS client/buffer cache deadlock X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 15:38:46 -0000 On Fri, Apr 22, 2005 at 11:28:15AM -0400, Garrett Wollman wrote: > < said: > > > > Can you find any evidence that it's acceptable to interleave multiple > > writers that are doing O_APPEND? At best, to do what you're asking, > > they could be kept from being interleaved from the context of one > > specific NFS client host... > > As far as POSIX goes, the standard says that applications are expected > to handle serialization. It makes no exception for O_APPEND. Then let's fix IO_UNIT so the existing code can DTRT. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\