Displaying 1 result from an estimated 1 matches for "adjust_priority".
2006 Dec 07
0
答复: Re: [patch 2/2]OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O
...ern distro, I'm begining to think that perhaps
>we want to just fork and exec /usr/bin/ionice.
>It seems more future maintainable than defining the syscall interface
>ourselves.
ok, I will replace syscall interface with exec ionice.
>> + case HB_ACTION_IONICE:
>> + err = adjust_priority(&hbo);
>> + if (err) {
>> + com_err(progname, err, "while adjusting heartbeat thread I/O priority");
>> + ret = -EINVAL;
>So, one thing I don't want to see is spurious errors if the set_ioprio or
>ionice stuff doesn't exist - this should work just...