Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ioprio range error #603

Closed
wants to merge 1 commit into from
Closed

Fix ioprio range error #603

wants to merge 1 commit into from

Conversation

spacewander
Copy link
Contributor

IO priority levels range from 0 (highest) to 7 (lowest), according to the manpage of ioprio_set

IO priority levels range from 0 (highest) to 7 (lowest), according to the manpage of `ioprio_set`
@wiggin15
Copy link
Collaborator

This commit looks good (travis failed for other reasons). Any chance to get it merged?

@giampaolo giampaolo closed this in 8006cfb Aug 7, 2015
@giampaolo
Copy link
Owner

I merged this. Thanks for your patch.

mrjefftang added a commit to mrjefftang/psutil that referenced this pull request Aug 12, 2015
* giampaolo/master: (25 commits)
  try to fix failure on py 3
  try to fix occasional appveyor failure
  add test to make sure all example scripts are executable
  fix travis failure
  yet another test for rlimit
  fix giampaolo#513: [Linux] fixed integer overflow for RLIM_INFINITY.
  provide actual test for rlimit
  fix giampaolo#603: [Linux] ionice_set value range is incorrect.  (patch by spacewander)
  fix net_if_addrs on Windows
  update HISTORY - @mrjefftang
  try to fix compilation warning
  make flake8 happy
  fix failing test on OSX
  OSX try to fix swapmem test
  try to debug travis failure
  OSX: fix swap mem test
  use sysctlbyname to get cpu_count() logical and also add unit tests
  C styling
  C styling
  C styling
  ...
mrjefftang added a commit to mrjefftang/psutil that referenced this pull request Aug 12, 2015
* giampaolo/master: (26 commits)
  try to fix failure on py 3
  try to fix occasional appveyor failure
  add test to make sure all example scripts are executable
  fix travis failure
  yet another test for rlimit
  fix giampaolo#513: [Linux] fixed integer overflow for RLIM_INFINITY.
  provide actual test for rlimit
  fix giampaolo#603: [Linux] ionice_set value range is incorrect.  (patch by spacewander)
  fix net_if_addrs on Windows
  update HISTORY - @mrjefftang
  try to fix compilation warning
  make flake8 happy
  fix failing test on OSX
  OSX try to fix swapmem test
  try to debug travis failure
  OSX: fix swap mem test
  use sysctlbyname to get cpu_count() logical and also add unit tests
  C styling
  C styling
  C styling
  ...
@giampaolo giampaolo added the bug label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants