laixintao / laixintao/problems
aio
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
aio
Linux 只对以 O_DIRECT 打开的文件支持异步IO。对于不带 O_DIRECT flag 打开的普通文件,要支持异步IO的话,只能采取某种变通的方式。这种方式毕竟不是 Kernel 原生的支持,所以只能类似于异步IO,而不是真正的异步IO。
问题:
- 什么文件不能用 O_DIRECT 打开?而需要自己实现异步IO呢?
- epoll 可以block 普通文件的io吗?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files or tests are identified. Start by reading the Linux documentation for O_DIRECT, asynchronous I/O, and epoll, then determine which regular files require an alternative approach and whether epoll can block on them. Done means providing clear, referenced answers to both questions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100