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:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static int iomap_submit_ioend(struct iomap_writepage_ctx *wpc, struct iomap_ioend *ioend, int error)

Type:int

Parameter:

TypeParameterName
struct iomap_writepage_ctx *wpc
struct iomap_ioend *ioend
interror
1271  bi_private = ioend
1272  bi_end_io = iomap_writepage_end_bio
1274  If prepare_ioend Then error = prepare_ioend(ioend, error)
1276  If error Then
1283  bi_status = errno_to_blk_status(error)
1284  bio_endio( being built )
1285  Return error
1288  submit_bio( being built )
1289  Return 0
Caller
NameDescribe
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