Re: SMP: logging

From: Kinkie <gkinkie_at_gmail.com>
Date: Thu, 25 Feb 2010 21:16:04 +0100

2010/2/25 Henrik Nordström <henrik_at_henriknordstrom.net>:
> tor 2010-02-25 klockan 11:52 -0700 skrev Alex Rousskov:
>
>> What would this mean for Squid code? Can we still use simple O_APPEND
>> logging in SMP mode?
>
> Yes, plus remove the built-in log rotation complexity, at least on
> UNIX.. Not entirely sure about Windows.. (have some memory about
> problems renaming open files)

Yup. Windows doesn't have inodes as a first-class concept (or if it
does, it hides that for compatibility reasons), so any open file is
automatically locked for all file handling operations.

-- 
    /kinkie
Received on Thu Feb 25 2010 - 20:16:13 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 26 2010 - 12:00:16 MST