misc/66790: PATCH: port no-sync option to syslogd from Linux syslogd
Pekka Savola
pekkas at netcore.fi
Tue May 18 00:30:39 PDT 2004
>Number: 66790
>Category: misc
>Synopsis: PATCH: port no-sync option to syslogd from Linux syslogd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 18 00:30:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Pekka Savola
>Release: 5.2.1-RELEASE
>Organization:
>Environment:
>Description:
Linux syslogd branch has supported a '-' prefix for files and pipes which causes the syslogd to omit fsync() after each logged line from 1995. This causes relatively heavy operation if you syslog a LOT of data.
I've ported Martin Schulze's code to BSD syslog. The code is almost identical. Linux syslogd is under a BSD license, so this should not be a problem.
>How-To-Repeat:
>Fix:
Patch at http://www.netcore.fi/pekkas/linux//syslogd-freebsd521-nosync.patch
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list