函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Doesn't wait for previously queued work to finish. When this completes,* it just means that previously queued work was started.

函数原型:void io_wq_flush(struct io_wq *wq)

返回类型:void

参数:

类型参数名称
struct io_wq *wq
1016  for_each_node(node)
1017  wqe等于wqes[node]
1019  如果非NUMA节点状态(node)则继续下一循环
1021  init_completion( & done)
1022  INIT_IO_WORK( & work, io_wq_flush_func)
1023  flags或等于IO_WQ_WORK_INTERNAL
1024  io_wqe_enqueue(wqe, & work)
1025  wait_for_completion: - waits for completion of a task*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It is NOT* interruptible and there is no timeout.* See also similar routines (i