Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751335AbXBMW2d (ORCPT ); Tue, 13 Feb 2007 17:28:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751362AbXBMW2d (ORCPT ); Tue, 13 Feb 2007 17:28:33 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:40380 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbXBMW2c (ORCPT ); Tue, 13 Feb 2007 17:28:32 -0500 Date: Tue, 13 Feb 2007 23:26:26 +0100 From: Ingo Molnar To: Andi Kleen Cc: Davide Libenzi , 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 Message-ID: <20070213222626.GI22104@elte.hu> References: <20070213142010.GA638@elte.hu> <20070213215724.GD22104@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -5.3 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-5.3 required=5.9 tests=ALL_TRUSTED,BAYES_00 autolearn=no SpamAssassin version=3.0.3 -3.3 ALL_TRUSTED Did not pass through any untrusted hosts -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 20 * Andi Kleen wrote: > > really, what's the point behind aio_cancel()? > > The main use case is when you open a file requester on a network file > system where the server is down and you get tired of waiting and press > "Cancel" it should abort the hanging IO immediately. ok, that should work fine already - exit in the user context gets propagated to all async syslet contexts immediately. So if the syscalls that the syslet uses are reasonably interruptible, it will work out fine. Ingo - 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/