CFQ io调度程序的空闲调度类的“定义的宽限期”有多长?

ionice手册页说

以闲置优先级运行的程序只有在没有其他程序在限定的宽限期内请求磁盘io时才会获得磁盘时间。

这个“宽限期”在哪里定义? 它是可见/可调的(也许通过/ sys)?

宽限期是250毫秒。

http://lkml.indiana.edu/hypermail/linux/kernel/0412.2/1099.html

 There is an idle scheduling class, which only runs when nothing else is using the disk. A grace period is defined for which idle has to wait before getting disk access when other io has run. This defaults to 250ms currently. 

您没有提供操作系统版本或发行版(是的,它确实有所不同),但是RHEL / CentOS 5 + 6的可调参数在这里被定义为/sys/block/[device]/queue/iosched/ (其中[device]是sda,sdb,cciss0等)。