summaryrefslogtreecommitdiff
path: root/os/os.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-05-17 12:29:57 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-05-17 12:29:57 +0200
commit2e3bd4c21cc239fbda992a4ede89ebb85f550920 (patch)
tree777058d19228533e4319a133afda8d52d71f8911 /os/os.h
parent7452440e1efb40680fdc951eebc7499a95a62f86 (diff)
downloadfio-2e3bd4c21cc239fbda992a4ede89ebb85f550920.tar.gz
fio-2e3bd4c21cc239fbda992a4ede89ebb85f550920.tar.bz2
Improve ETA for fill_device based job files
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os.h')
-rw-r--r--os/os.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/os.h b/os/os.h
index b7fce80c..218766ab 100644
--- a/os/os.h
+++ b/os/os.h
@@ -147,4 +147,11 @@ static inline long os_random_long(os_random_state_t *rs)
}
#endif
+#ifndef FIO_HAVE_FS_STAT
+static inline unsigned long long get_fs_size(const char *path)
+{
+ return 0;
+}
+#endif
+
#endif