Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:finish_writeback_work

Proto:static void finish_writeback_work(struct bdi_writeback *wb, struct wb_writeback_work *work)

Type:void

Parameter:

TypeParameterName
struct bdi_writeback *wb
struct wb_writeback_work *work
163  done = set if the caller waits
165  If on completion Then kfree(work)
167  If done Then
168  waitq = waitq
171  If atomic_dec_and_test( & cnt) Then wake_up_all(waitq)
Caller
NameDescribe
wb_queue_work
wb_do_writebackRetrieve work items and do the writeback they describe