buffindexed, a racing problem?

Russ Allbery rra at stanford.edu
Wed Dec 18 19:45:22 UTC 2002


Sang-yong Suh <sysuh at kigam.re.kr> writes:
> On Wed, Dec 18, 2002 at 07:24:36AM -0000, Kiernan, Alex wrote:

>> Could this be fcntl(F_SETLKW) returning with EINTR? It looks to me like
>> inn_lock_range will return in this instance without acquiring the write
>> lock - I've spent an hour or so staring a ovblocknew() to see if I
>> could see any holes and this is all I can come up with.

> Good remark.

Sees like inn_lock_range should retry until it doesn't get EINTR.

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