Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
#define FIO_HAVE_FDATASYNC
#define FIO_USE_GENERIC_BDEV_SIZE
#define FIO_USE_GENERIC_RAND
#define FIO_HAVE_FDATASYNC
#define FIO_USE_GENERIC_BDEV_SIZE
#define FIO_USE_GENERIC_RAND
#undef FIO_HAVE_CPU_AFFINITY /* XXX notyet */
#undef FIO_HAVE_CPU_AFFINITY /* XXX notyet */
+static inline int gettid(void)
+{
+ long lwpid;
+
+ thr_self(&lwpid);
+ return (int) lwpid;
+}
+
#ifdef MADV_FREE
#define FIO_MADV_FREE MADV_FREE
#endif
#ifdef MADV_FREE
#define FIO_MADV_FREE MADV_FREE
#endif