Function report |
Source Code:block\mq-deadline.c |
Create Date:2022-07-28 17:50:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alize elevator private data (deadline_data).
Proto:static int dd_init_queue(struct request_queue *q, struct elevator_type *e)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct elevator_type * | e |
411 | eq = elevator_alloc(q, e) |
416 | If Not dd Then |
418 | Return -ENOMEM |
420 | elevator_data = dd |
424 | * requests (deadline_rq s) are present on both sort_list and fifo_list[generic data direction definitions ] = |
426 | * settings that change how the i/o scheduler behaves[generic data direction definitions ] = max time before a read is submitted. |
427 | * settings that change how the i/o scheduler behaves[WRITE] = ditto for writes, these limits are SOFT! |
429 | front_merges = 1 |
431 | Process spin lock initialization( & lock) |
436 | Return 0 |
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 |