Movatterモバイル変換


[0]ホーム

URL:


blk_sync_queue
Prev Chapter 14. Block Devices Next

Name

blk_sync_queue — cancel any pending callbacks on a queue

Synopsis

voidblk_sync_queue(struct request_queue *q);
 

Arguments

struct request_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. A block device may call blk_sync_queue to ensure that any such activity is cancelled, thus allowing it to release resources that the callbacks might use. The caller must already have made sure that its ->make_request_fn will not re-add plugging prior to calling this function.

This function does not cancel any asynchronous activity arising out of elevator or throttling code. That would requireelevator_exit andblkcg_exit_queue to be called with queue lock initialized.


Prev Up Next
blk_stop_queue Home __blk_run_queue_uncond

[8]ページ先頭

©2009-2025 Movatter.jp