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're now finished for good with this ioend structure. Update the page* state, release holds on bios, and finally free up memory. Do not use the* ioend after this.

Proto:static void iomap_finish_ioend(struct iomap_ioend *ioend, int error)

Type:void

Parameter:

TypeParameterName
struct iomap_ioend *ioend
interror
1142  inode = le being written to
1143  bio = MUST BE LAST!
1144  last = being built
1145  start = device address in 512 byte sectors
1146  offset = ffset in the file
1147  quiet = bio_flagged(bio, BIO_QUIET)
1149  When bio cycle
1157  If bio == last Then next = NULL
1159  Else next = bi_private
1163  drivers should _never_ use the all version - the bio may have been split* before it got to the driver and the driver won't own all of it(bv, bio, iter_all)
1164  iomap_finish_page_writeback(inode, bv_page, error)
1165  bio_put(bio)
1169  If Value for the false possibility is greater at compile time(error && !quiet) Then
1170  atelimited messages with local ratelimit_state,* no local ratelimit_state used in the !PRINTK case(r conditions "%s: writeback error on inode %lu, offset %lld, sector %llu", s_id, Stat data, not accessed from path walking , offset, start)
Caller
NameDescribe
iomap_finish_ioends
iomap_writepage_end_bio