blk_queue_throttle_sectors(9)
NAME
blk_queue_throttle_sectors - indicates you will call sec
tor 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 throt
- tling 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.