Whamcloud - gitweb
A __u64 is not always a long long. On some architectures it is only a
authoryujian <yujian>
Sat, 17 Feb 2007 07:52:44 +0000 (07:52 +0000)
committeryujian <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

index 2e57ccd..9b974a1 100644 (file)
@@ -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)