Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_sync_kiocb

Proto:static inline bool is_sync_kiocb(struct kiocb *kiocb)

Type:bool

Parameter:

TypeParameterName
struct kiocb *kiocb
337  Return ki_complete == NULL
Caller
NameDescribe
__blkdev_direct_IO
blkdev_direct_IO
do_blockdev_direct_IOThis is a library function for use by filesystem drivers
iomap_dio_rwmap_dio_rw() always completes O_[D]SYNC writes regardless of whether the IO* is being issued as AIO or not. This allows us to optimise pure data writes* to use REQ_FUA rather than requiring generic_write_sync() to issue a* REQ_FLUSH post write