Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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
Caller
NameDescribe
blk_req_zone_write_lock
blk_req_can_dispatch_to_zone