[PATCH] cleanup sg ioctl vs read approach
[fio.git] / os-freebsd.h
CommitLineData
ebac4655
JA
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
13typedef unsigned long os_cpu_mask_t;
14
15/*
16 * FIXME
17 */
9104f874 18static inline int blockdev_size(int fd, unsigned long long *bytes)
ebac4655
JA
19{
20 return 1;
21}
22
23#endif