aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-11-07 13:54:07 +0100
committerJens Axboe <jens.axboe@oracle.com>2007-11-07 13:54:07 +0100
commit8ec680e4c3ec818efd1652f15199ed1c216ab550 (patch)
tree5f58d77e0661d720cbf1443aa5c1153ee930d37c /drivers
parentcfq_idle_class_timer: add paranoid checks for jiffies overflow (diff)
downloadlinux-dev-8ec680e4c3ec818efd1652f15199ed1c216ab550.tar.xz
linux-dev-8ec680e4c3ec818efd1652f15199ed1c216ab550.zip
ioprio: allow sys_ioprio_set() value of 0 to reset ioprio setting
Normally io priorities follow the CPU nice, unless a specific scheduling class has been set. Once that is set, there's no way to reset the behaviour to 'none' so that it follows CPU nice again. Currently passing in 0 as the ioprio class/value will return -1/EINVAL, change that to allow resetting of a set scheduling class. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions