Adam Megacz <[EMAIL PROTECTED]> writes:
> Marcus Watts <[EMAIL PROTECTED]> writes:

>> Does sqlite make any attempt today to see if byte range locking works,

> Sure -- it checks whether fcntl(fd,F_SETLK,&flock)==0.

> ...unless you mean actually checking at runtime to see if it's possible
> to violate a lock that has been "granted".  Interesting.  This is the
> most promising suggestion I've heard so far.  I'm going to run this by
> the sqlite people.

I thought, on Linux at least, that some combination of the cache manager
and the generic file system layer caused byte-range locking to work on the
local host even though other hosts wouldn't see the lock.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to