Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_set_queue_dying

Proto:void blk_set_queue_dying(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
316  lk_queue_flag_set - atomically set a queue flag*@flag: flag to be set*@q: request queue
323  blk_freeze_queue_start(q)
325  If queue_is_mq(q) Then blk_mq_wake_waiters(q)
329  wake_up_all( & mq_freeze_wq)
Caller
NameDescribe
blk_cleanup_queuelk_cleanup_queue - shutdown a request queue*@q: request queue to shutdown* Mark @q DYING, drain all pending requests, mark @q DEAD, destroy and* put it. All future requests will be failed immediately with -ENODEV.