Merge brlock.tdb and locking.tdb

Ralph Böhme slow at samba.org
Mon Dec 10 16:03:03 UTC 2018


On Fri, Dec 07, 2018 at 09:19:11AM -0800, Jeremy Allison wrote:
>On Fri, Dec 07, 2018 at 04:05:29PM +0100, Ralph Böhme wrote:
>> Thoughts?
>
>That sounds like a plan. So in the locking code we just read
>the first num_brlocks * sizeof(struct lock_struct) bytes, and
>just add in the (untouched) share_mode_data afterwards on write.

yup.

>Might simplify things a bit.
>
>Numbers (benchmarks:-) however, would be welcome !

Yeah, that'd be fun to write a micro benchmark to excersize this. I'll put it on 
my list.

-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46



More information about the samba-technical mailing list