Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static void dd_finish_request(struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request *rq
564  q = q
566  If blk_queue_is_zoned(q) Then
567  dd = elevator_data
570  spin_lock_irqsave( & zone_lock, flags)
571  blk_req_zone_write_unlock(rq)
572  If Not list_empty - tests whether a list is empty*@head: the list to test. Then 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)