Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void bfq_finish_requeue_request(struct request *rq)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq |
5908 | If Value for the false possibility is greater at compile time(!(rq_flags & levator private data attached )) Then Return |
5919 | bfqd = parent bfq_data |
5930 | spin_lock_irqsave( & lock, flags) |
5935 | bfq_completed_request(bfqq, bfqd) |
5938 | spin_unlock_irqrestore( & lock, flags) |
5939 | Else |
5953 | If Not 'empty' nodes are nodes that are known not to be inserted in an rbtree ( & sort/lookup ) Then |
5954 | bfq_remove_request(q, rq) |
5978 | priv[0] = NULL |
5979 | priv[1] = NULL |
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 |