Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:We can merge two adjacent ioends if they have the same set of work to do.

Proto:static bool iomap_ioend_can_merge(struct iomap_ioend *ioend, struct iomap_ioend *next)

Type:bool

Parameter:

TypeParameterName
struct iomap_ioend *ioend
struct iomap_ioend *next
1198  If bi_status != bi_status Then Return false
1200  If IOMAP_F_* & IOMAP_F_SHARED ^ IOMAP_F_* & IOMAP_F_SHARED Then Return false
1203  If io_type == locks allocated at @addr in unwritten state ^ io_type == locks allocated at @addr in unwritten state Then Return false
1206  If ffset in the file + size of the extent != ffset in the file Then Return false
1208  Return true
Caller
NameDescribe
iomap_ioend_try_merge