有谁知道我可以在最新的Linux内核上获取关于aio的内核支持状态的最新信息。
Does anyone know where I can get up to date information about the state on Kernel support for aio on the latest Linux Kernel?. Google searches bring up web pages that may be hopelessly out of date.
编辑:
更具体地说,我我对非文件相关的描述符,如管道和套接字感兴趣。
More specifically, I am interested in non-file related descriptors like pipes and sockets. Stuff on the web indicate that there is no support, is this still the case?
Edit2:我正在寻找的东西类似于Windows OVERLAPPED IO
What I am looking for is something similar to Windows OVERLAPPED IO
推荐答案AIO支持已经包含在linux内核中。这就是为什么 Google上的第一次点击只为2.4 Linux内核提供补丁。
AIO support has been included in the linux kernel proper. That's why the first hit on Google only offers patches to the 2.4 Linux kernel. In 2.6 and 3.0 it's already in there.
如果你检出Linux内核源代码,它在fs / aio.c
If you checkout the Linux kernel source code, it's at fs/aio.c
有 GNU libc手册中的一些文档,但是建议aio不可能用于所有类型的Linux文件描述符。 常规如何文档的大部分日期大约在2006年,这是适当的,因为那是在Linux的AIO正在做的头条。
There's some documentation in the GNU libc manual, but be advised that aio is not possible for all types of Linux file descriptors. Most of the general "how to" documentation is dated around 2006, which is appropriate since that's when AIO in Linux was making the headlines.
请注意,POSIX.1b和Unix98标准没有改变,所以你可以有点具体的例子的过期性质的性质?
Note that the POSIX.1b and Unix98 standards haven't changed, so can you be a bit specific as to the nature of the "out-of-date"ness of the examples?
更多推荐
Linux上的AIO支持
发布评论