Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751352AbXBMWZJ (ORCPT ); Tue, 13 Feb 2007 17:25:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751354AbXBMWZJ (ORCPT ); Tue, 13 Feb 2007 17:25:09 -0500 Received: from ns.suse.de ([195.135.220.2]:49621 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbXBMWZH (ORCPT ); Tue, 13 Feb 2007 17:25:07 -0500 To: Ingo Molnar 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 References: <20070213142010.GA638@elte.hu> <20070213215724.GD22104@elte.hu> From: Andi Kleen Date: 14 Feb 2007 00:25:18 +0100 In-Reply-To: <20070213215724.GD22104@elte.hu> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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: 774 Lines: 16 Ingo Molnar writes: > > 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. At least I would appreciate such a feature sometimes. e.g. the readdir loop could be a syslet (are they powerful enough to allocate memory for a arbitary sized directory? Probably not) and then the cancel button could async_cancel() it. -Andi - 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/