函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Submit the final bio for an ioend.* If @error is non-zero, it means that we have a situation where some part of* the submission process has failed after we have marked paged for writeback* and unlocked them

函数原型:static int iomap_submit_ioend(struct iomap_writepage_ctx *wpc, struct iomap_ioend *ioend, int error)

返回类型:int

参数:

类型参数名称
struct iomap_writepage_ctx *wpc
struct iomap_ioend *ioend
interror
1271  bi_private等于ioend
1272  bi_end_io等于iomap_writepage_end_bio
1274  如果prepare_ioenderror等于prepare_ioend(ioend, error)
1276  如果error
1283  bi_status等于errno_to_blk_status(error)
1284  bio_endio( being built )
1285  返回:error
1288  submit_bio( being built )
1289  返回:0
调用者
名称描述
iomap_writepage_mapWe implement an immediate ioend submission policy here to avoid needing to* chain multiple ioends and hence nest mempool allocations which can violate* forward progress guarantees we need to provide
iomap_writepage
iomap_writepages