search for: niceval

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

Did you mean: neval
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...hing I'm not completely sure about is how to best do logging. I have two calls to rprint(FLOG, ...): one is for an error condition (providing a negative nice), and the other is just an info notice. rprintf(FLOG, "WARNING: nice(%d) not allowed (must be positive) on module %s\n", niceval, name); rprintf(FLOG, "rsync set nice(%d) on module %s\n", niceval, name); The error should not be fatal, and neither of these should be routed to the client. This very patch has been in use on a dozen machines (Linux and FreeBSD) for more than two months, and we've verified t...