Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\direct-io.c Create Date:2022-07-28 20:32:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_dio_bio_end_io

Proto:static void iomap_dio_bio_end_io(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
148  dio = bi_private
149  should_dirty = flags & IOMAP_DIO_DIRTY
151  If bi_status Then Set an error in the dio if none is set yet. We have to use cmpxchg* as the submission context and the completion context(s) can race to* update the error.
154  If atomic_dec_and_test( & ref) Then
155  If wait_for_completion Then
156  waiter = waiter
157  WRITE_ONCE(waiter, NULL)
159  Else if flags & IOMAP_DIO_WRITE Then
164  Else
169  If should_dirty Then
170  bio_check_pages_dirty(bio)
171  Else
172  bio_release_pages(bio, false)
173  bio_put(bio)