Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_account_io_flush

Proto:static void blk_account_io_flush(struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request *rq
142  part = part0
144  Macros to operate on percpu disk statistics:* {disk|part|all}_stat_{add|sub|inc|dec}() modify the stat counters* and should be called between disk_stat_lock() and* disk_stat_unlock()()
145  part_stat_inc(part, ios[STAT_FLUSH])
146  part_stat_add(part, nsecs[STAT_FLUSH], ktime_get_ns() - Time that this request was allocated for this IO. )
148  part_stat_unlock()
Caller
NameDescribe
flush_end_io