Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_sync_queue - cancel any pending callbacks on a queue*@q: the queue* Description:* The block layer may perform asynchronous callback activity* on a queue, such as calling the unplug function after a timeout

Proto:void blk_sync_queue(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
282  del_timer_sync( & timeout)
283  ancel_work_sync - cancel a work and wait for it to finish*@work: the work to cancel* Cancel @work and wait for its execution to finish. This function* can be used even if the work re-queues itself or migrates to* another workqueue
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.