Function report |
Source Code:block\blk-wbt.c |
Create Date:2022-07-28 18:07:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wbt_should_throttle
Proto:static inline bool wbt_should_throttle(struct rq_wb *rwb, struct bio *bio)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq_wb * | rwb | |
| struct bio * | bio |
| 532 | Case bio_op(bio) == REQ_OP_WRITE |
| 536 | If ( bottom bits req flags, * top bits REQ_OP. Use * accessors. & (REQ_SYNC | REQ_IDLE)) == (REQ_SYNC | REQ_IDLE) Then Return false |
| 540 | Case bio_op(bio) == REQ_OP_DISCARD |
| 541 | Return true |
| 542 | Default |
| 543 | Return false |
| Name | Describe |
|---|---|
| bio_to_wbt_flags |
| 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 |