Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:55:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_remove_request
Proto:static void bfq_remove_request(struct request_queue *q, struct request *rq)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct request * | rq |
| 2156 | bfqd = parent bfq_data |
| 2157 | sync = rq_is_sync(rq) |
| 2159 | If fifo isn't expired, next request to serve == rq Then |
| 2164 | If prev != queuelist Then list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list. |
| 2167 | number of queued requests -- |
| 2168 | elv_rb_del( & sorted list of pending requests , rq) |
| 2170 | elv_rqhash_del(q, rq) |
| 2171 | If last_merge == rq Then last_merge = NULL |
| 2174 | If RB_EMPTY_ROOT( & sorted list of pending requests ) Then |
| 2175 | fifo isn't expired, next request to serve = NULL |
| 2177 | If bfq_bfqq_busy(bfqq) && bfqq != bfq_queue in service Then |
| 2202 | Else |
| 2208 | If op and common flags & REQ_META Then umber of pending metadata requests -- |
| Name | Describe |
|---|---|
| bfq_dispatch_remove | Remove request from internal lists. |
| bfq_finish_requeue_request | Handle either a requeue or a finish for rq. The things to do are* the same in both cases: all references to rq are to be dropped. In* particular, rq is considered completed from the point of view of* the scheduler. |
| 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 |