Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_write_same_mergeable

Proto:static inline bool blk_write_same_mergeable(struct bio *a, struct bio *b)

Type:bool

Parameter:

TypeParameterName
struct bio *a
struct bio *b
760  If bio_page(a) == bio_page(b) && bio_offset(a) == bio_offset(b) Then Return true
764  Return false
Caller
NameDescribe
attempt_mergeFor non-mq, this has to be called with the request spinlock acquired.* For mq with scheduling, the appropriate queue wide lock should be held.
blk_rq_merge_ok