Re: Async disk i/o in Linux

From: Jeff V. Merkey (jmerkey@timpanogas.com)
Date: Tue Jul 25 2000 - 11:43:10 EST


Ramon,

NWFS has a very good Asynch IO API for Linux AIO. You can get the code
at 207.109.151.240. I already handle all the buffer head allocations
and returns and locking issues with the Linux kernel. The file block.c
has generic functions for all Linux versions 2.0/2.2/2.4 with a
consistent asynch IO interface that runs across all Linuxes. The code
is all GPL, so you can pull it apart and use it anyway you want.

:-)

Jeff

Stephen Tweedie wrote:
>
> Hi,
>
> On Mon, Jul 17, 2000 at 09:06:44PM +0200, Ramon Garcia Fernandez wrote:
>
> > "Other 2.4 kernel advances TUX uses are: async networking and disk IO,"
> >
> > Does this mean that the kernel 2.4 supports fcntl/sigio with regular
> > files? Or it supports select with them?
>
> The kernel has async block device and file IO support already --- it
> uses that sort of thing for file readahead, for example. There isn't
> an exported async IO api for user applications yet, although we're
> working on one. Kernel internal modules such as TUX can access the
> async properties of the page cache if they want to.
>
> Cheers,
> Stephen
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:19 EST