buffindexed, a racing problem?

Russ Allbery rra at stanford.edu
Tue Jan 21 19:24:11 UTC 2003


Alex Kiernan <alexk at demon.net> writes:

> Different question... could/should we sysdie() on return from
> fcntl(F_SETLKW) if we fail?

> It'd break some people (me in particular), but it looks a lot safer
> since all callers assume it just works.

That's not a bad idea, although I think it would be cleaner to track down
the various users and have them fail properly, since that way the server
will throttle rather than just croak.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list