Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\trace\events\block.h Create Date:2022-07-28 12:17:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lock_split - split a single bio struct into two bio structs*@q: queue containing the bio*@bio: block operation being split*@new_sector: The starting sector for the new bio* The bio request @bio in request queue @q needs to be split into two* bio requests

Proto:static inline void trace_block_split(struct request_queue *q, struct bio *bio, unsigned int new_sector)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct bio *bio
unsigned intnew_sector

NULL

Caller
NameDescribe
__blk_queue_split__blk_queue_split - split a bio and submit the second half*@q: [in] request queue pointer*@bio: [in, out] bio to be split*@nr_segs: [out] number of segments in the first bio* Split a bio into two bios, chain the two bios, submit the second half and