[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Jan 16 04:35:02 UTC 2019

The branch, master has been updated
       via  193a0d6f013 ctdb: Print locks latency in machinereadable stats
      from  0b996afec2b profiling: stop smbprofile from growing unnecessarily


- Log -----------------------------------------------------------------
commit 193a0d6f01372604b925d1972591062a0bb2400f
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Jan 14 15:04:59 2019 +0100

    ctdb: Print locks latency in machinereadable stats
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=13742
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Martin Schwenke <martin at meltin.net>
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Wed Jan 16 05:34:17 CET 2019 on sn-devel-144


Summary of changes:
 ctdb/tools/ctdb.c | 5 +++++
 1 file changed, 5 insertions(+)

Changeset truncated at 500 lines:

diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index eb4c684e8b0..ee64566ba04 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -1237,6 +1237,11 @@ static void print_statistics_machine(struct ctdb_statistics *s,
 	printf("%.6f%s", LATENCY_AVG(s->call_latency), options.sep);
 	printf("%.6f%s", s->call_latency.max, options.sep);
+	printf("%u%s", s->locks.latency.num, options.sep);
+	printf("%.6f%s", s->locks.latency.min, options.sep);
+	printf("%.6f%s", LATENCY_AVG(s->locks.latency), options.sep);
+	printf("%.6f%s", s->locks.latency.max, options.sep);
 	printf("%d%s", s->childwrite_latency.num, options.sep);
 	printf("%.6f%s", s->childwrite_latency.min, options.sep);
 	printf("%.6f%s", LATENCY_AVG(s->childwrite_latency), options.sep);

Samba Shared Repository

More information about the samba-cvs mailing list