Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mq_flush_data_end_io

Proto:static void mq_flush_data_end_io(struct request *rq, blk_status_t error)

Type:void

Parameter:

TypeParameterName
struct request *rq
blk_status_terror
342  q = q
343  hctx = mq_hctx
344  ctx = mq_ctx
346  fq = blk_get_flush_queue(q, ctx)
348  If elevator Then
349  WARN_ON(tag < 0)
350  blk_mq_put_driver_tag(rq)
357  spin_lock_irqsave( & mq_flush_lock, flags)
358  lk_flush_complete_seq - complete flush sequence*@rq: PREFLUSH/FUA request being sequenced*@fq: flush queue*@seq: sequences to complete (mask of %REQ_FSEQ_*, can be zero)*@error: whether an error occurred*@rq just completed @seq part of its flush sequence,
359  spin_unlock_irqrestore( & mq_flush_lock, flags)
361  blk_mq_sched_restart(hctx)