Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Feb 2001 14:33:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Feb 2001 14:33:26 -0500 Received: from chiara.elte.hu ([157.181.150.200]:31498 "HELO chiara.elte.hu") by vger.kernel.org with SMTP id ; Tue, 6 Feb 2001 14:33:15 -0500 Date: Tue, 6 Feb 2001 20:32:35 +0100 (CET) From: Ingo Molnar Reply-To: To: Ben LaHaise Cc: "Stephen C. Tweedie" , Linus Torvalds , Alan Cox , Manfred Spraul , Steve Lord , Linux Kernel List , , Ingo Molnar Subject: Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound event wait In-Reply-To: Message-ID: 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 On Tue, 6 Feb 2001, Ben LaHaise wrote: > > > - make asynchronous io possible in the block layer. This is > > > impossible with the current ll_rw_block scheme and io request > > > plugging. > > > > why is it impossible? > > s/impossible/unpleasant/. ll_rw_blk blocks; it should be possible to > have a non blocking variant that does all of the setup in the caller's > context. [...] sorry, but exactly what code are you comparing this to? The aio code you sent a few days ago does not do this either. (And you did not answer my questions regarding this issue.) What i saw is some scheme that at a point relies on keventd (a kernel thread) to do the blocking stuff. [or, unless i have misread the code, does the ->bmap() synchronously.] indeed an asynchron ll_rw_block() is possible and desirable (and not hard at all - all structures are interrupt-safe already, opposed to the kiovec code), but this is only half of the story. What is the big issue for me is an async ->bmap(). And we wont access ext2fs data structures from IRQ handlers anytime soon - so true async IO right now is damn near impossible. No matter what the IO-submission interface is: kiobufs/kiovecs or bhs/requests. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/