函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\mq-deadline.c Create Date:2022-07-27 19:26:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:For zoned block devices, write unlock the target zone of* completed write requests. Do this while holding the zone lock* spinlock so that the zone is never unlocked while deadline_fifo_request()* or deadline_next_request() are executing

函数原型:static void dd_finish_request(struct request *rq)

返回类型:void

参数:

类型参数名称
struct request *rq
564  q等于q
566  如果blk_queue_is_zoned(q)则
567  dd等于elevator_data
570  spin_lock_irqsave( & zone_lock, flags)
571  blk_req_zone_write_unlock(rq)
572  如果非链表为空Mark a hardware queue as needing a restart. For shared queues, maintain* a count of how many hardware queues are marked for restart.
574  spin_unlock_irqrestore( & zone_lock, flags)