Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:56:28
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_endio - end I/O on a bio*@bio: bio* Description:* bio_endio() will end I/O on the whole bio. bio_endio() is the preferred* way to end I/O on a bio. No one should call bi_end_io() directly on a

Proto:void bio_endio(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
1840  again :
1841  If Not bio_remaining_done(bio) Then Return
1843  If Not bio_integrity_endio(bio) Then Return
1846  If bi_disk Then rq_qos_done_bio(queue, bio)
1857  If bi_end_io == bio_chain_endio Then
1858  bio = __bio_chain_endio(bio)
1859  Go to again
1862  If bi_disk && bio_flagged(bio, BIO_TRACE_COMPLETION) Then
1863  lock_bio_complete - completed all work on the block operation*@q: queue holding the block operation*@bio: block operation completed*@error: io error value* This tracepoint indicates there is no further work to do on this* block IO operation @bio.
1865  bio_clear_flag(bio, BIO_TRACE_COMPLETION)
1868  blk_throtl_bio_endio(bio)
1870  bio_uninit(bio)
1871  If bi_end_io Then bi_end_io(bio)
Caller
NameDescribe
bio_chain_endio
req_bio_endio
generic_make_request_checks
direct_make_requestdirect_make_request - hand a buffer directly to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* This function behaves like generic_make_request(), but does not protect* against recursion
bounce_end_io
bio_integrity_prep_integrity_prep - Prepare bio for integrity I/O*@bio: bio to prepare* Description: Checks if the bio already has an integrity payload attached.* If it does, the payload has been generated by another kernel subsystem,* and we just pass it through
bio_integrity_verify_fn_integrity_verify_fn - Integrity I/O completion worker*@work: Work struct stored in bio to be verified* Description: This workqueue function is called to complete a READ* request. The function verifies the transferred integrity metadata
iomap_submit_ioendSubmit 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
bio_io_error
bio_wouldblock_error