Function report | 
Source Code:include\linux\blk-cgroup.h | 
Create Date:2022-07-28 05:57:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:blkcg_bio_issue_check
Proto:static inline bool blkcg_bio_issue_check(struct request_queue *q, struct bio *bio)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | |
| struct bio * | bio | 
| 586 | bool throtl = false | 
| 593 | WARN_ONCE(1, "no blkg associated for bio on block-device: %s\n", bio_devname(bio, b)) | 
| 601 | throtl = blk_throtl_bio(q, blkg, bio) | 
| 603 | If Not throtl Then | 
| 607 | If op_is_discard( bottom bits req flags, * top bits REQ_OP. Use * accessors.) Then rwd = BLKG_IOSTAT_DISCARD | 
| 609 | Else if op_is_write( bottom bits req flags, * top bits REQ_OP. Use * accessors.) Then rwd = BLKG_IOSTAT_WRITE | 
| 611 | Else rwd = BLKG_IOSTAT_READ | 
| 615 | bis = per_cpu_ptr(iostat_cpu, cpu) | 
| 616 | u64_stats_update_begin( & sync) | 
| 623 | If Not bio_flagged(bio, BIO_QUEUE_ENTERED) Then bytes[rwd] += residual I/O count | 
| 627 | u64_stats_update_end( & sync) | 
| 630 | put_cpu() | 
| 633 | blkcg_bio_issue_init(bio) | 
| 636 | Return Not throtl | 
| Name | Describe | 
|---|---|
| generic_make_request_checks | 
| 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  |