[PATCH] ctdb-locking: Back-off from logging every 10 seconds

Amitay Isaacs amitay at gmail.com
Wed Mar 4 22:27:35 MST 2015


Hi,

This patch prevents flooding of debug logs by locking code when a lock
helper is unable to obtain a lock for a long time.  Instead of logging
every 10 seconds, increase the interval to 100 seconds and 1000 seconds
when the elapsed time reaches 100 seconds and 1000 seconds respectively.

Please review and push if ok.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-locking-Back-off-from-logging-every-10-seconds.patch
Type: text/x-patch
Size: 2766 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150305/378bd68d/attachment.bin>


More information about the samba-technical mailing list