search for: set_ioprio

Displaying 1 result from an estimated 1 matches for "set_ioprio".

2006 Dec 07
0
答复: Re: [patch 2/2]OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O
...ce. >> + 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 fine without confusing >users if they're still on an old kernel. You probably then want to filter >out any errors pertaining to the existence (or not) of that api. oh, this is my careless, I have defined a UNSUPPORTED error_co...