Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:54:45
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_chain - chain bio completions*@bio: the target bio*@parent: the @bio's parent bio* The caller won't have a bi_end_io called when @bio completes - instead,*@parent's bi_end_io won't be called until both @parent and @bio have

Proto:void bio_chain(struct bio *bio, struct bio *parent)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct bio *parent
332  BUG_ON(bi_private || bi_end_io)
334  bi_private = parent
335  bi_end_io = bio_chain_endio
336  Increment chain count for the bio. Make sure the CHAIN flag update* is visible before the raised count.
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
blk_next_bio
__blk_queue_bounce