Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:10:12
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_bio_to_request

Proto:static void blk_mq_bio_to_request(struct request *rq, struct bio *bio, unsigned int nr_segs)

Type:void

Parameter:

TypeParameterName
struct request *rq
struct bio *bio
unsigned intnr_segs
1741  If bottom bits req flags, * top bits REQ_OP. Use * accessors. & REQ_RAHEAD Then op and common flags |= REQ_FAILFAST_MASK
1744  sector cursor = device address in 512 byte sectors
1745  write_hint = bi_write_hint
1746  blk_rq_bio_prep(rq, bio, nr_segs)
1748  blk_account_io_start(rq, true)
Caller
NameDescribe
blk_mq_make_request