From 2b4f4abec640f36ccdff39de00e74b2234e27116 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 3 Jun 2009 08:50:36 +0200 Subject: [PATCH] Move IO engine flags Signed-off-by: Jens Axboe --- fio.h | 11 ----------- ioengine.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/fio.h b/fio.h index 6e222f97..31164f5b 100644 --- a/fio.h +++ b/fio.h @@ -106,17 +106,6 @@ enum fio_memtype { MEM_MMAPHUGE, /* memory mapped huge file */ }; -enum fio_ioengine_flags { - FIO_SYNCIO = 1 << 0, /* io engine has synchronous ->queue */ - FIO_RAWIO = 1 << 1, /* some sort of direct/raw io */ - FIO_DISKLESSIO = 1 << 2, /* no disk involved */ - FIO_NOEXTEND = 1 << 3, /* engine can't extend file */ - FIO_NODISKUTIL = 1 << 4, /* diskutil can't handle filename */ - FIO_UNIDIR = 1 << 5, /* engine is uni-directional */ - FIO_NOIO = 1 << 6, /* thread does only pseudo IO */ - FIO_SIGQUIT = 1 << 7, /* needs SIGQUIT to exit */ -}; - /* * How many depth levels to log */ diff --git a/ioengine.h b/ioengine.h index f293ab85..2caece72 100644 --- a/ioengine.h +++ b/ioengine.h @@ -103,6 +103,16 @@ struct ioengine_ops { void *dlhandle; }; +enum fio_ioengine_flags { + FIO_SYNCIO = 1 << 0, /* io engine has synchronous ->queue */ + FIO_RAWIO = 1 << 1, /* some sort of direct/raw io */ + FIO_DISKLESSIO = 1 << 2, /* no disk involved */ + FIO_NOEXTEND = 1 << 3, /* engine can't extend file */ + FIO_NODISKUTIL = 1 << 4, /* diskutil can't handle filename */ + FIO_UNIDIR = 1 << 5, /* engine is uni-directional */ + FIO_NOIO = 1 << 6, /* thread does only pseudo IO */ + FIO_SIGQUIT = 1 << 7, /* needs SIGQUIT to exit */ +}; /* * io engine entry points -- 2.25.1