Function report |
Source Code:block\mq-deadline.c |
Create Date:2022-07-28 17:50:24 |
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 sector position sorted lists.
Proto:static struct request *deadline_next_request(struct deadline_data *dd, int data_dir)
Type:struct request
Parameter:
Type | Parameter | Name |
---|---|---|
struct deadline_data * | dd | |
int | data_dir |
242 | If WARN_ON_ONCE(data_dir != generic data direction definitions && data_dir != WRITE) Then Return NULL |
246 | If Not rq Then Return NULL |
249 | If data_dir == generic data direction definitions || Not blk_queue_is_zoned(q) Then Return rq |
256 | spin_lock_irqsave( & zone_lock, flags) |
258 | If blk_req_can_dispatch_to_zone(rq) Then Break |
262 | spin_unlock_irqrestore( & zone_lock, flags) |
264 | 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 |