[rsyslog] Development of failsafe disk based queue

david at lang.hm david at lang.hm
Wed Oct 1 15:42:47 CEST 2008


On Wed, 1 Oct 2008, Rainer Gerhards wrote:

> On Wed, 2008-10-01 at 06:31 -0700, david at lang.hm wrote:
>> some of this can be done without doing a sync for every write with
>> barriers, which can guarentee that a write before the barrier takes place
>> before any writes after the barrier. this lets you do things like modify
>> the queue and then (after you know the data is safe) modify the metadata
>> to indicate that the new data is there.
>
> That sounds interesting - can you point me to some API documentation? A
> good place to do that would be inside the queue after the qi file has
> been persisted. That could reduce performance toll of synchronous
> writes. Especially if loss of a few messages is acceptable (as David
> Ecker just said).

I'll try to find it (I've seen it discussed on the linux-kernel mailing 
list by the filesystem developers, but I don't know how it's exposed to 
userspace)

David Lang



More information about the rsyslog mailing list