Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 00:23:56 -0700 (PDT)
From:      Pekka Savola <pekkas@netcore.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:    misc/66790: PATCH: port no-sync option to syslogd from Linux syslogd
Message-ID:  <200405180723.i4I7NuYC060140@www.freebsd.org>
Resent-Message-ID: <200405180730.i4I7ULP9011096@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405180723.i4I7NuYC060140>