| Summary: | Feature request: Support ionice daemon option | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joseph D. Wagner <joe> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | iarlyy, jonathan, notting, plautrba, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-16 18:55:26 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Given the advent of systemd support for system services, I'm inclined to leave this as something done there. |
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.