Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-wbt.c Create Date:2022-07-28 18:06:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wb_timestamp

Proto:static void wb_timestamp(struct rq_wb *rwb, unsigned long *var)

Type:void

Parameter:

TypeParameterName
struct rq_wb *rwb
unsigned long *var
85  If rwb_enabled(rwb) Then
86  cur = jiffies
88  If cur != var Then var = cur
Caller
NameDescribe
wbt_doneCalled on completion of a request. Note that it's also called when* a request is merged, when the request gets freed.
wbt_waitReturns true if the IO request should be accounted, false if not.* May sleep, if we have exceeded the writeback limits. Caller can pass* in an irq held spinlock, if it holds one when calling this function.* If we do sleep, we'll release and re-grab it.