The Samba-Bugzilla – Attachment 14788 Details for
Bug 13742
ctdb -Y statistics misses "locks latency"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.9 and 4.10
patch.txt (text/plain), 1.36 KB, created by
Volker Lendecke
on 2019-01-17 12:01:41 UTC
(
hide
)
Description:
Patch for 4.9 and 4.10
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2019-01-17 12:01:41 UTC
Size:
1.36 KB
patch
obsolete
>From 6c3ab4d2d99ae8140c3c7d454ffc81732e9e40a4 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 14 Jan 2019 15:04:59 +0100 >Subject: [PATCH] ctdb: Print locks latency in machinereadable stats > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13742 >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Martin Schwenke <martin@meltin.net> > >Autobuild-User(master): Volker Lendecke <vl@samba.org> >Autobuild-Date(master): Wed Jan 16 05:34:17 CET 2019 on sn-devel-144 > >(cherry picked from commit 193a0d6f01372604b925d1972591062a0bb2400f) >--- > ctdb/tools/ctdb.c | 5 +++++ > 1 file changed, 5 insertions(+) > >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); >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
martins
:
review+
Actions:
View
Attachments on
bug 13742
: 14788