Function report | 
Source Code:block\bfq-iosched.c | 
Create Date:2022-07-28 17:55:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bfq_add_request
Proto:static void bfq_add_request(struct request *rq)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request * | rq | 
| 1867 | bfqd = parent bfq_data | 
| 1870 | bool interactive = false | 
| 1872 | bfq_log_bfqq(bfqd, bfqq, "add_request %d", rq_is_sync(rq)) | 
| 1874 | number of queued requests ++ | 
| 1876 | If RB_EMPTY_ROOT( & sorted list of pending requests ) && bfq_bfqq_sync(bfqq) Then | 
| 1931 | If bfqq owning the last completed rq && Not bfq_bfqq_has_short_ttime(bfqq) && ktime_get_ns() - time of last request completion (ns) < 200 * NSEC_PER_USEC Then | 
| 1966 | If Not hlist_unhashed( & de for woken_list, see below ) Then hlist_del_init( & de for woken_list, see below ) | 
| 1971 | bfq_clear_bfqq_has_waker(bfqq) | 
| 1979 | bfq_mark_bfqq_has_waker(bfqq) | 
| 2066 | If Not bfq_bfqq_busy(bfqq) Then bfq_bfqq_handle_idle_busy_switch(bfqd, bfqq, old_wr_coeff, rq, & interactive) | 
| 2069 | Else | 
| Name | Describe | 
|---|---|
| __bfq_insert_request | rns true if it causes the idle timer to be disabled | 
| 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  |