Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void io_wq_flush(struct io_wq *wq)

Type:void

Parameter:

TypeParameterName
struct io_wq *wq
1016  for_each_node(node)
1017  wqe = wqes[node]
1019  If Not node_online(node) Then Continue
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