CTDB internals

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Nov 2 01:29:26 MDT 2012

On Fri, Nov 02, 2012 at 02:18:36AM -0500, Christopher R. Hertel wrote:
> Ah...
> No, it's *both*.  I just found the notes I need in smb.conf.  If I
> understand correctly, the byte-range locks are stored in brlock.tdb but are
> also made using fcntl byte-range locking.
> The only questions for me, then, are to know how byte range locks are
> enforced by Samba and whether or not I'm miles off in my understanding here.

Before every read and write we check if an fcntl lock is
set. Racy, but the best we can do.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list