Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751442AbXBMXYq (ORCPT ); Tue, 13 Feb 2007 18:24:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751452AbXBMXYq (ORCPT ); Tue, 13 Feb 2007 18:24:46 -0500 Received: from x35.xmailserver.org ([64.71.152.41]:4612 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751442AbXBMXYp (ORCPT ); Tue, 13 Feb 2007 18:24:45 -0500 X-AuthUser: davidel@xmailserver.org Date: Tue, 13 Feb 2007 15:24:43 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Ingo Molnar cc: Linux Kernel Mailing List , Linus Torvalds , Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Ulrich Drepper , Zach Brown , Evgeniy Polyakov , "David S. Miller" , Benjamin LaHaise , Suparna Bhattacharya , Thomas Gleixner Subject: Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support In-Reply-To: <20070213215724.GD22104@elte.hu> Message-ID: References: <20070213142010.GA638@elte.hu> <20070213215724.GD22104@elte.hu> X-GPG-FINGRPRINT: CFAE 5BEE FD36 F65E E640 56FE 0974 BF23 270F 474E X-GPG-PUBLIC_KEY: http://www.xmailserver.org/davidel.asc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 33 On Tue, 13 Feb 2007, Ingo Molnar wrote: > > * Davide Libenzi wrote: > > > > Open issues: > > > If this is going to be a generic AIO subsystem: > > > > - Cancellation of pending request > > How about implementing aio_cancel() as a NOP. Can anyone prove that the > kernel didnt actually attempt to cancel that IO? [but unfortunately > failed at doing so, because the platters were being written already.] > > really, what's the point behind aio_cancel()? You need cancel. If you scheduled an async syscall, and the "session" linked with that chain is going away, you better have that canceled before cleaning up buffers to where the chain is going to read/write. If you keep and hash or a tree indexed by atom-ptr, than become a matter of a lookup and sending a signal. - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/