Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9de286
)
A __u64 is not always a long long. On some architectures it is only a
author
yujian
<yujian>
Sat, 17 Feb 2007 07:52:44 +0000
(07:52 +0000)
committer
yujian
<yujian>
Sat, 17 Feb 2007 07:52:44 +0000
(07:52 +0000)
long. Let's declare write_bytes as unsigned long long.
lustre/utils/loadgen.c
patch
|
blob
|
history
diff --git
a/lustre/utils/loadgen.c
b/lustre/utils/loadgen.c
index
2e57ccd
..
9b974a1
100644
(file)
--- a/
lustre/utils/loadgen.c
+++ b/
lustre/utils/loadgen.c
@@
-150,7
+150,7
@@
struct command_t *trigger_cmd = NULL;
pthread_mutex_t m_trigger = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cv_trigger = PTHREAD_COND_INITIALIZER;
-
__u64
write_bytes;
+
unsigned long long
write_bytes;
pthread_mutex_t m_count = PTHREAD_MUTEX_INITIALIZER;
static void trigger(struct command_t *cmd, int count)