projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stat: remove terse v2 blank lines with description not set
[fio.git]
/
os
/
os-hpux.h
diff --git
a/os/os-hpux.h
b/os/os-hpux.h
index b4d677a4cf28d63bea693d7dc1b5add509b7724e..c1dafe42ee55c0bf2317304daa828e138691e312 100644
(file)
--- a/
os/os-hpux.h
+++ b/
os/os-hpux.h
@@
-6,7
+6,7
@@
#include <errno.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <unistd.h>
#include <sys/ioctl.h>
-#include <
sys/
fcntl.h>
+#include <fcntl.h>
#include <sys/fadvise.h>
#include <sys/mman.h>
#include <sys/mpctl.h>
#include <sys/fadvise.h>
#include <sys/mman.h>
#include <sys/mpctl.h>
@@
-20,9
+20,7
@@
#include "../file.h"
#define FIO_HAVE_ODIRECT
#include "../file.h"
#define FIO_HAVE_ODIRECT
-#define FIO_USE_GENERIC_RAND
#define FIO_USE_GENERIC_INIT_RANDOM_STATE
#define FIO_USE_GENERIC_INIT_RANDOM_STATE
-#define FIO_HAVE_PSHARED_MUTEX
#define FIO_HAVE_CHARDEV_SIZE
#define OS_MAP_ANON MAP_ANONYMOUS
#define FIO_HAVE_CHARDEV_SIZE
#define OS_MAP_ANON MAP_ANONYMOUS
@@
-33,20
+31,10
@@
#define POSIX_MADV_RANDOM MADV_RANDOM
#define posix_madvise(ptr, sz, hint) madvise((ptr), (sz), (hint))
#define POSIX_MADV_RANDOM MADV_RANDOM
#define posix_madvise(ptr, sz, hint) madvise((ptr), (sz), (hint))
-#ifndef CLOCK_MONOTONIC
-#define CLOCK_MONOTONIC CLOCK_REALTIME
-#endif
-
#ifndef MSG_WAITALL
#define MSG_WAITALL 0x40
#endif
#ifndef MSG_WAITALL
#define MSG_WAITALL 0x40
#endif
-#ifdef LITTLE_ENDIAN
-#define FIO_LITTLE_ENDIAN
-#else
-#define FIO_BIG_ENDIAN
-#endif
-
#define FIO_USE_GENERIC_SWAP
#define FIO_OS_HAVE_AIOCB_TYPEDEF
#define FIO_USE_GENERIC_SWAP
#define FIO_OS_HAVE_AIOCB_TYPEDEF
@@
-54,7
+42,7
@@
typedef struct aiocb64 os_aiocb_t;
static inline int blockdev_invalidate_cache(struct fio_file *f)
{
static inline int blockdev_invalidate_cache(struct fio_file *f)
{
- return E
INVAL
;
+ return E
NOTSUP
;
}
static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)
}
static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)