summaryrefslogtreecommitdiff
path: root/ctdb/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-05-05 13:16:38 +0200
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-06 10:41:18 +1000
commitc544371776ceded760c4cc0c0bda59f84dd2cb1c (patch)
tree586bd8f719adc73b241bc61f739c39389dc5feca /ctdb/utils
parent08cfdf0d6368a1bf230e60fee42eef78366a07a1 (diff)
downloadsamba-c544371776ceded760c4cc0c0bda59f84dd2cb1c.tar.gz
ping_pong: add GPL comment header with Tridge's copyright
Michael (This used to be ctdb commit a87ef6a9206820d5110a7117240f743af010ff19)
Diffstat (limited to 'ctdb/utils')
-rw-r--r--ctdb/utils/ping_pong/ping_pong.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/ctdb/utils/ping_pong/ping_pong.c b/ctdb/utils/ping_pong/ping_pong.c
index 84e22a37bd2..fd0e99b2391 100644
--- a/ctdb/utils/ping_pong/ping_pong.c
+++ b/ctdb/utils/ping_pong/ping_pong.c
@@ -1,8 +1,27 @@
/*
- this measures the ping-pong byte range lock latency. It is
+ A ping-pong fcntl byte range lock test
+
+ Copyright (C) Andrew Tridgell 2002
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <http://www.gnu.org/licenses/>.
+*/
+
+/*
+ This measures the ping-pong byte range lock latency. It is
especially useful on a cluster of nodes sharing a common lock
manager as it will give some indication of the lock managers
- performance under stress
+ performance under stress.
tridge@samba.org, February 2002