From owner-freebsd-current@FreeBSD.ORG Fri Oct 6 08:50:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 EC48616A415; Fri, 6 Oct 2006 08:50:53 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F092143D53; Fri, 6 Oct 2006 08:50:51 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.dp.ua (localhost [127.0.0.1]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k968olVk078171; Fri, 6 Oct 2006 11:50:47 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: from localhost (dmitry@localhost) by atlantis.dp.ua (8.13.1/8.13.1/Submit) with ESMTP id k968ok02078165; Fri, 6 Oct 2006 11:50:47 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Fri, 6 Oct 2006 11:50:46 +0300 (EEST) From: Dmitry Pryanishnikov To: David Xu In-Reply-To: <200610061116.31469.davidxu@freebsd.org> Message-ID: <20061006114529.P61584@atlantis.atlantis.dp.ua> References: <20061004203715.GA38692@xor.obsecurity.org> <20061006001418.GA84293@xor.obsecurity.org> <200610061116.31469.davidxu@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org 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: Fri, 06 Oct 2006 08:50:54 -0000 Hello! On Fri, 6 Oct 2006, David Xu 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. I think it must be done as a workaround _only_. What's the point of having asynchronous I/O capability for relatively fast HDDs while missing this support for other (slow) I/O such as ttys or pipes? This situation renders the whole presence of aio almost useless. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE