Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:No work, worker going to sleep

Proto:static bool __io_worker_idle(struct io_wqe *wqe, struct io_worker *worker)__must_hold(wqe->lock)

Type:bool

Parameter:

TypeParameterName
struct io_wqe *wqe
struct io_worker *worker
370  If Not (flags & IO_WORKER_F_FREE) Then
371  flags |= IO_WORKER_F_FREE
372  hlist_nulls_add_head_rcu*@n: the element to add to the hash list
375  Return Note: drops the wqe->lock if returning true! The caller must re-acquire* the lock in that case. Some callers need to restart handling if this* happens, so we can't just re-acquire the lock on behalf of the caller.
Caller
NameDescribe
io_wqe_worker