From owner-freebsd-current@FreeBSD.ORG Mon Nov 20 23:21:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id A20C116A407; Mon, 20 Nov 2006 23:21:39 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: freebsd-current@freebsd.org Date: Tue, 21 Nov 2006 07:21:35 +0800 User-Agent: KMail/1.8.2 References: <20061004203715.GA38692@xor.obsecurity.org> <200610061116.31469.davidxu@freebsd.org> <20061120195454.GA47063@xor.obsecurity.org> In-Reply-To: <20061120195454.GA47063@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611210721.35740.davidxu@freebsd.org> Cc: Kris Kennaway Subject: Re: Thread stuck in aioprn X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 20 Nov 2006 23:21:40 -0000 On Tuesday 21 November 2006 03:54, Kris Kennaway wrote: > On Fri, Oct 06, 2006 at 11:16:31AM +0800, David Xu wrote: > > On Friday 06 October 2006 08:14, Kris Kennaway wrote: > > > FYI, this has recurred, so it seems to be an easy problem to trigger. > > > > > > Kris > > > > can you try attached patch ? it disables support for non-disk files, > > I suspect the test passed non-disk file handle to aio, and caused > > the problem. > > > > David Xu > > This fix seems to work. > > Kris OK, so there are too choices, fix aio for all I/O facilities or disable aio for non-disk files, this will make daily usage safe. Regards, David Xu