Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-28 05:45:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Mark a bio as polled. Note that for async polled IO, the caller must* expect -EWOULDBLOCK if we cannot allocate a request (or other resources).* We cannot block waiting for requests on polled IO, as those completions* must be found by the caller

Proto:static inline void bio_set_polled(struct bio *bio, struct kiocb *kiocb)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct kiocb *kiocb
832  bottom bits req flags, * top bits REQ_OP. Use * accessors. |= REQ_HIPRI
833  If Not is_sync_kiocb(kiocb) Then bottom bits req flags, * top bits REQ_OP. Use * accessors. |= REQ_NOWAIT
Caller
NameDescribe
__blkdev_direct_IO_simple
__blkdev_direct_IO
iomap_dio_submit_bio