Function report |
Source Code:fs\direct-io.c |
Create Date:2022-07-28 20:15:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Get another userspace page. Returns an ERR_PTR on error. Pages are* buffered inside the dio so that we can call get_user_pages() against a* decent number of pages, less frequently. To provide nicer use of the* L1 cache.
Proto:static inline struct page *dio_get_page(struct dio *dio, struct dio_submit *sdio)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dio * | dio | |
| struct dio_submit * | sdio |
| 214 | If How many pages are in the queue? == 0 Then |
| 220 | BUG_ON(How many pages are in the queue? == 0) |
| 222 | Return page buffer [xt page to process ] |
| Name | Describe |
|---|---|
| do_direct_IO | Walk the user pages, and the file, mapping blocks to disk and generating* a sequence of (page,offset,len,block) mappings. These mappings are injected* into submit_page_section(), which takes care of the next stage of submission |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |