[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44C7CED0.5020509@cfl.rr.com>
Date: Wed, 26 Jul 2006 16:21:36 -0400
From: Phillip Susi <psusi@....rr.com>
To: Christoph Hellwig <hch@...radead.org>,
David Miller <davem@...emloft.net>, johnpol@....mipt.ru,
linux-kernel@...r.kernel.org, drepper@...hat.com,
netdev@...r.kernel.org
Subject: Re: [3/4] kevent: AIO, aio_sendfile() implementation.
Christoph Hellwig wrote:
>> Networking and disk AIO have significantly different needs.
>>
>> Therefore, I really don't see it as reasonable to expect
>> a merge of these two things. It doesn't make any sense.
>
> I'm not sure about that. The current aio interface isn't exactly nice
> for disk I/O either. I'm more than happy to have a discussion about
> that aspect.
>
I agree that it makes perfect sense for a merger because aio and
networking have very similar needs. In both cases, the caller hands the
kernel a buffer and wants the kernel to either fill it or consume it,
and to be able to do so asynchronously. You also want to maximize
performance in both cases by taking advantage of zero copy IO.
I wonder though, why do you say the current aio interface isn't nice for
disk IO? It seems to work rather nicely to me, and is much better than
the posix aio interface.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists