Function report |
Source Code:block\blk-zoned.c |
Create Date:2022-07-28 18:05:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return true if a request is a write requests that needs zone write locking.
Proto:bool blk_req_needs_zone_write_lock(struct request *rq)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq |
36 | If Not seq_zones_wlock Then Return false |
39 | If blk_rq_is_passthrough(rq) Then Return false |
43 | Case req_op(rq) == REQ_OP_WRITE_ZEROES |
44 | Case req_op(rq) == REQ_OP_WRITE_SAME |
45 | Case req_op(rq) == REQ_OP_WRITE |
46 | Return blk_rq_zone_is_seq(rq) |
47 | Default |
48 | Return false |
Name | Describe |
---|---|
blk_req_zone_write_lock | |
blk_req_can_dispatch_to_zone |
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 |