函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\direct-io.c Create Date:2022-07-29 10:46:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:A really large O_DIRECT read or write can generate a lot of BIOs. So* to keep the memory consumption sane we periodically reap any completed BIOs* during the BIO generation phase.* This also helps to limit the peak amount of pinned userspace memory.

函数原型:static inline int dio_bio_reap(struct dio *dio, struct dio_submit *sdio)

返回类型:int

参数:

类型参数名称
struct dio *dio
struct dio_submit *sdio
566  ret等于0
568  如果ate limit reaping 自加大于等于64则
579  如果ret恒等于0则ret等于ret2
582  ate limit reaping 等于0
584  返回:ret
调用者
名称描述
dio_new_bioThere is no bio. Make one now.