Locking, notify collisions using CTDB on non-clustered share?

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Apr 14 06:31:22 UTC 2018


On Fri, Apr 13, 2018 at 02:01:12PM -0500, Christopher R. Hertel via samba-technical wrote:
> Sounds like a plan.
> 
> If that fixes it...  I'll still want to talk about how this all works
> internally in June at the conference.  Thanks for the clue!

We only have one locking.tdb, indexed by node/device/inode. We have to
make sure that if you share the same file space via different shares
you don't mess up locking. Ralph's proposal fakes up the device on a
per-node basis. This is not 100% bullet proof, as it's based on a hash
into a uint64, but it might help you. The good thing is that this is
per share.

Volker

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