[PATCH] Remove fcntl calls in tdb

Bob Campbell bobcampbell at catalyst.net.nz
Wed Jun 29 23:53:41 UTC 2016


Hi all,

This patch removes a bunch of needless fcntl calls upon incrementing
seqnum in TDB when there is already a transaction lock held. This was
done as a result of trying to improve provisioning time. Although it
doesn't actually reduce the time noticeably, it does remove some of the
noise in strace so that we could look at what other system calls were
taking lots of time.

We've managed to improve provision times significantly by shifting
operations into transactions, which we will hopefully get into the tree
soon.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tdb-avoid-many-fcntl-calls-when-incrementing-seqnum.patch
Type: text/x-patch
Size: 1277 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160630/9a9d7bab/0001-tdb-avoid-many-fcntl-calls-when-incrementing-seqnum.bin>


More information about the samba-technical mailing list