Bug 754033 - Feature request: Support ionice daemon option
Summary: Feature request: Support ionice daemon option
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-15 08:29 UTC by Joseph D. Wagner
Modified: 2014-03-17 03:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-16 18:55:26 UTC
Type: ---


Attachments (Terms of Use)
Patch to implement described behavior. (1.26 KB, patch)
2011-11-15 08:29 UTC, Joseph D. Wagner
no flags Details | Diff

Description Joseph D. Wagner 2011-11-15 08:29:00 UTC
Created attachment 533705 [details]
Patch to implement described behavior.

Currently, the daemon() function within /etc/rc.d/init.d/functions supports adding a line NICELEVEL=x into /etc/sysconfig/foo as a way of setting the daemon's CPU niceness.  However, there is currently no support for setting a daemon's IO niceness.

A sysadmin, such as myself, may want to throttle a daemon's IO niceness without throttling its CPU niceness.

The attached patch implements this functionality.  It tested successfully on my machine.

Comment 1 Bill Nottingham 2011-11-16 18:55:26 UTC
Given the advent of systemd support for system services, I'm inclined to leave this as something done there.


Note You need to log in before you can comment on or make changes to this bug.