blk_queue_throttle_sectors

Name

blk_queue_throttle_sectors --  indicates you will call sector throttling funcs

Synopsis

void blk_queue_throttle_sectors (request_queue_t * q, int active);

Arguments

q

The queue which this applies to.

active

A flag indication if you want sector throttling on

Description

The sector throttling code allows us to put a limit on the number of sectors pending io to the disk at a given time, sending active nonzero indicates you will call blk_started_sectors and blk_finished_sectors in addition to calling blk_started_io and blk_finished_io in order to keep track of the number of sectors in flight.