Function report | 
Source Code:fs\direct-io.c | 
Create Date:2022-07-28 20:15:11 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:In the AIO read case we speculatively dirty the pages before starting IO.* During IO completion, any of these pages which happen to have been written* back will be redirtied by bio_check_pages_dirty().
Proto:static inline void dio_bio_submit(struct dio *dio, struct dio_submit *sdio)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dio * | dio | |
| struct dio_submit * | sdio | 
| 444 | bio = under assembly | 
| 447 | bi_private = dio | 
| 449 | spin_lock_irqsave( & protects BIO fields below , flags) | 
| 450 | direct_io_worker() and bios ++ | 
| 453 | If s IO async ? && op == REQ_OP_READ && pages should be dirtied Then bio_set_pages_dirty(bio) | 
| 458 | If IO submition function Then | 
| 460 | bio_cookie = BLK_QC_T_NONE | 
| 461 | Else bio_cookie = submit_bio(bio) | 
| 464 | under assembly = NULL | 
| 465 | prev block is at a boundary = 0 | 
| Name | Describe | 
|---|---|
| dio_send_cur_page | Put cur_page under IO | 
| submit_page_section | An autonomous function to put a chunk of a page under deferred IO.* The caller doesn't actually know (or care) whether this piece of page is in* a BIO, or is under IO or whatever. We just take care of all possible * situations here | 
| do_blockdev_direct_IO | This is a library function for use by filesystem drivers | 
| 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  |