Function report |
Source Code:block\mq-deadline.c |
Create Date:2022-07-28 17:50:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:deadline_check_fifo returns 0 if there are no expired requests on the fifo,* 1 otherwise. Requires !list_empty(&dd->fifo_list[data_dir])
Proto:static inline int deadline_check_fifo(struct deadline_data *dd, int ddir)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct deadline_data * | dd | |
| int | ddir |
| 185 | rq = rq_entry_fifo(next) |
| 190 | If time_after_eq(jiffies, (unsignedlong)fifo_time) Then Return 1 |
| 193 | Return 0 |
| 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 |