| Function report | 
| Source Code: block\mq-deadline.c | Create Date:2022-07-28 17:50:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:For the specified data direction, return the next request to* dispatch using arrival ordered lists.
Proto:static struct request *deadline_fifo_request(struct deadline_data *dd, int data_dir)
Type:struct request
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct deadline_data * | dd | |
| int | data_dir | 
| 206 | If WARN_ON_ONCE(data_dir != generic data direction definitions && data_dir != WRITE) Then Return NULL | 
| 209 | If list_empty - tests whether a list is empty*@head: the list to test. Then Return NULL | 
| 212 | rq = rq_entry_fifo(next) | 
| 213 | If data_dir == generic data direction definitions || Not blk_queue_is_zoned(q) Then Return rq | 
| 220 | spin_lock_irqsave( & zone_lock, flags) | 
| 222 | If blk_req_can_dispatch_to_zone(rq) Then Go to out | 
| 225 | rq = NULL | 
| 226 | out : | 
| 227 | spin_unlock_irqrestore( & zone_lock, flags) | 
| 229 | Return rq | 
| Name | Describe | 
|---|---|
| __dd_dispatch_request | deadline_dispatch_requests selects the best request according to* read/write expire, fifo_batch, etc | 
| 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 |