Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame^] | 1 | #ifndef FIO_OS_FREEBSD_H |
2 | #define FIO_OS_FREEBSD_H | ||||
3 | |||||
4 | #undef FIO_HAVE_LIBAIO | ||||
5 | #define FIO_HAVE_POSIXAIO | ||||
6 | #undef FIO_HAVE_FADVISE | ||||
7 | #undef FIO_HAVE_CPU_AFFINITY | ||||
8 | #undef FIO_HAVE_DISK_UTIL | ||||
9 | #undef FIO_HAVE_SGIO | ||||
10 | |||||
11 | #define OS_MAP_ANON (MAP_ANON) | ||||
12 | |||||
13 | typedef unsigned long os_cpu_mask_t; | ||||
14 | |||||
15 | /* | ||||
16 | * FIXME | ||||
17 | */ | ||||
18 | static inline int blockdev_size(int fd, size_t *bytes) | ||||
19 | { | ||||
20 | return 1; | ||||
21 | } | ||||
22 | |||||
23 | #endif |