Function report | 
Source Code:block\blk-core.c | 
Create Date:2022-07-28 17:00:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:blk_account_io_start
Proto:void blk_account_io_start(struct request *rq, bool new_io)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request * | rq | |
| bool | new_io | 
| 1356 | rw = rq_data_dir(rq) | 
| 1358 | If Not Contribute to IO statistics IFF:* a) it's attached to a gendisk, and* b) the queue had IO stats enabled when this request was started Then Return | 
| 1363 | If Not new_io Then | 
| 1366 | Else | 
| 1368 | If Not hd_struct_try_get(part) Then | 
| 1378 | hd_struct_get(part) | 
| 1380 | part_inc_in_flight(q, part, rw) | 
| 1384 | update_io_ticks(part, jiffies) | 
| 1386 | part_stat_unlock() | 
| Name | Describe | 
|---|---|
| bio_attempt_back_merge | |
| bio_attempt_front_merge | |
| bio_attempt_discard_merge | |
| blk_insert_cloned_request | lk_insert_cloned_request - Helper for stacking drivers to submit a request*@q: the queue to submit the request*@rq: the request being queued | 
| blk_execute_rq_nowait | lk_execute_rq_nowait - insert a request into queue for execution*@q: queue to insert the request in*@bd_disk: matching gendisk*@rq: request to insert*@at_head: insert request at head or tail of queue*@done: I/O completion handler* Description:* Insert a | 
| blk_mq_bio_to_request | 
| 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  |