diff options
author | Karel Zak | 2011-07-22 12:37:57 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-22 12:55:01 +0200 |
commit | cbc1dc969b83d7cca64297b78d32d337c7ba3414 (patch) | |
tree | 276790e1887ebd46c57ddad6ddc0a08d9325127d /config | |
parent | ionice: allow to use names for -c <class> (diff) | |
download | kernel-qcow2-util-linux-cbc1dc969b83d7cca64297b78d32d337c7ba3414.tar.gz kernel-qcow2-util-linux-cbc1dc969b83d7cca64297b78d32d337c7ba3414.tar.xz kernel-qcow2-util-linux-cbc1dc969b83d7cca64297b78d32d337c7ba3414.zip |
ionice: make -t more tolerant
* replace errx() with warnx() for unknown -c class
The right place to check I/O scheduler features is in kernel. We should
not try to be more smart than kernel.
* make the code ready (robust) for unknown sched.classes
* fix -t behavior
old version:
$ ionice -c 4 -t bash
ionice: bad prio class 4
new version:
$ ionice -c 4 -t bash
Reported-by: Voelker, Bernhard" <bernhard.voelker@siemens-enterprise.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions