git.samba.org
/
ddiss
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ae863
)
fixed printing of high latency
author
Andrew Tridgell
<tridge@samba.org>
Fri, 5 Feb 2010 06:11:29 +0000
(17:11 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 15 Feb 2010 23:58:24 +0000
(10:58 +1100)
common/ctdb_util.c
patch
|
blob
|
history
diff --git
a/common/ctdb_util.c
b/common/ctdb_util.c
index 5b31418e9cec11f8350666c576437f92b2f26f8f..7fa57430094b98ea0a3caa7f1b28c1434b4e79dd 100644
(file)
--- a/
common/ctdb_util.c
+++ b/
common/ctdb_util.c
@@
-136,7
+136,7
@@
void ctdb_latency(struct ctdb_db_context *ctdb_db, const char *name, double *lat
if (ctdb_db->ctdb->tunable.log_latency_ms !=0) {
if (l*1000 > ctdb_db->ctdb->tunable.log_latency_ms) {
- DEBUG(DEBUG_WARNING, ("High latency %
fs for operation %s on database %s\n", l*1000000
, name, ctdb_db->db_name));
+ DEBUG(DEBUG_WARNING, ("High latency %
.6fs for operation %s on database %s\n", l
, name, ctdb_db->db_name));
}
}
}