函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\direct-io.c Create Date:2022-07-29 10:46:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dio_set_defer_completion

函数原型:static int dio_set_defer_completion(struct dio *dio)

返回类型:int

参数:

类型参数名称
struct dio *dio
613  sb等于i_sb
615  如果defer AIO completion to workqueue? 则返回:0
617  defer AIO completion to workqueue? = true
618  如果非s_dio_done_wq则返回:Create workqueue for deferred direct IO completions. We allocate the* workqueue when it's first needed. This avoids creating workqueue for* filesystems that don't need it and also allows us to create the workqueue
620  返回:0
调用者
名称描述
get_more_blocksCall into the fs to map some more disk blocks. We record the current number* of available blocks at sdio->blocks_available. These are in units of the* fs blocksize, i_blocksize(inode).* The fs is allowed to map lots of blocks at once
do_blockdev_direct_IOThis is a library function for use by filesystem drivers