Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:If we tracked the file through the SCM inflight mechanism, we could support* any file. For now, just ensure that anything potentially problematic is done* inline.

Proto:static bool io_file_supports_async(struct file *file)

Type:bool

Parameter:

TypeParameterName
struct file *file
1487  mode = i_mode
1489  If S_ISBLK(mode) || S_ISCHR(mode) || S_ISSOCK(mode) Then Return true
1491  If S_ISREG(mode) && f_op != io_uring_fops Then Return true
1494  Return false
Caller
NameDescribe
io_read
io_write