Function report |
Source Code:block\blk-wbt.c |
Create Date:2022-07-28 18:07:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns true if the IO request should be accounted, false if not.* May sleep, if we have exceeded the writeback limits. Caller can pass* in an irq held spinlock, if it holds one when calling this function.* If we do sleep, we'll release and re-grab it.
Proto:static void wbt_wait(struct rq_qos *rqos, struct bio *bio)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rq_qos * | rqos | |
struct bio * | bio |
584 | flags = bio_to_wbt_flags(rwb, bio) |
585 | If Not (flags & write, tracked for throttling ) Then |
586 | If flags & read Then wb_timestamp(rwb, & last non-throttled issue ) |
588 | Return |
593 | If Not lk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback. Then rwb_arm_timer(rwb) |
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 |