projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework lockfile= file lock handling
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 24af397a414d27669c6aa7874d3d5170737ea0c2..60261ffa9b26f2fd27e7cf88ff25a6a773d29f96 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-26,18
+26,10
@@
#include <time.h>
#include "fio.h"
#include <time.h>
#include "fio.h"
-#include "hash.h"
#include "smalloc.h"
#include "smalloc.h"
-#include "verify.h"
-#include "trim.h"
-#include "diskutil.h"
-#include "profile.h"
-#include "lib/rand.h"
-#include "memalign.h"
-#include "server.h"
-uintptr_t page_mask;
-uintptr_t page_size;
+uintptr_t page_mask
= 0
;
+uintptr_t page_size
= 0
;
static int endian_check(void)
{
static int endian_check(void)
{
@@
-53,10
+45,10
@@
static int endian_check(void)
else if (u.c[0] == 0x12)
le = 1;
else if (u.c[0] == 0x12)
le = 1;
-#if defined(
FIO
_LITTLE_ENDIAN)
+#if defined(
CONFIG
_LITTLE_ENDIAN)
if (be)
return 1;
if (be)
return 1;
-#elif defined(
FIO
_BIG_ENDIAN)
+#elif defined(
CONFIG
_BIG_ENDIAN)
if (le)
return 1;
#else
if (le)
return 1;
#else