Bug 6979 - ctdb fatal error on restoring nonzero scheudling priority
Summary: ctdb fatal error on restoring nonzero scheudling priority
Status: RESOLVED FIXED
Alias: None
Product: CTDB 2.5.x or older
Classification: Unclassified
Component: ctdb (show other bugs)
Version: unspecified
Hardware: All Linux
: P3 normal
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Michael Adam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 11:08 UTC by Jim McDonough
Modified: 2010-08-18 14:53 UTC (History)
0 users

See Also:


Attachments
save off and restore the scheduling priority (2.40 KB, patch)
2009-12-09 11:14 UTC, Jim McDonough
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McDonough 2009-12-09 11:08:43 UTC
A fatal error occurs if ctdbd is started with non-zero priority.  sched_setschedule() cannot be called with SCHED_OTHER and a non-zero priority.
This was first discovered at 1.0.89 but is still there.

To reproduce, just start with:
chrt -r 1 /etc/init.d/ctdb start

A patch will be attached.
Comment 1 Jim McDonough 2009-12-09 11:14:01 UTC
Created attachment 5073 [details]
save off and restore the scheduling priority
Comment 2 Jim McDonough 2010-08-18 14:53:18 UTC
As ctdb no longer uses sched_setschedule(), this can be closed