Don't use /tmp in the actual file name. And kill unused Windows
os_get_tmpdir().
Signed-off-by: Jens Axboe <axboe@fb.com>
return (unsigned long long) pages * (unsigned long long) pagesize;
}
-static inline void os_get_tmpdir(char *path, int len)
-{
- GetTempPath(len, path);
-}
-
static inline int gettid(void)
{
return GetCurrentThreadId();
static int status_interval_init;
static struct timeval status_time;
-#define FIO_STATUS_FILE "/tmp/fio-dump-status"
+#define FIO_STATUS_FILE "fio-dump-status"
static int check_status_file(void)
{