Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk_types.h Create Date:2022-07-28 05:43:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Check if a bio or request operation is a zone management operation, with* the exception of REQ_OP_ZONE_RESET_ALL which is treated as a special case* due to its different handling in the block layer and device response in* case of command failure.

Proto:static inline bool op_is_zone_mgmt(enum req_opf op)

Type:bool

Parameter:

TypeParameterName
enum req_opfop
436  Case & == REQ_OP_ZONE_RESET
437  Case & == REQ_OP_ZONE_OPEN
438  Case & == REQ_OP_ZONE_CLOSE
439  Case & == REQ_OP_ZONE_FINISH
440  Return true
441  Default
442  Return false
Caller
NameDescribe
blkdev_zone_mgmtlkdev_zone_mgmt - Execute a zone management operation on a range of zones*@bdev: Target block device*@op: Operation to be performed on the zones*@sector: Start sector of the first zone to operate on*@nr_sectors: Number of sectors, should be at least the