Function report |
Source Code:block\blk-wbt.c |
Create Date:2022-07-28 18:06:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wbt_rqw_done
Proto:static void wbt_rqw_done(struct rq_wb *rwb, struct rq_wait *rqw, enum wbt_flags wb_acct)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq_wb * | rwb | |
| struct rq_wait * | rqw | |
| enum wbt_flags | wb_acct |
| 132 | inflight = atomic_dec_return( & inflight) |
| 139 | rwb_wake_all(rwb) |
| 140 | Return |
| 148 | If wb_acct & discard Then limit = background writeback |
| 150 | Else if wc && Not If a task was rate throttled in balance_dirty_pages() within the last* second or so, use that to indicate a higher cleaning rate. Then limit = 0 |
| 152 | Else limit = normal writeback |
| 164 | If Not inflight || diff >= background writeback / 2 Then wake_up_all( & wait) |
| Name | Describe |
|---|---|
| __wbt_done | |
| wbt_cleanup_cb |
| 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 |