From: Jens Axboe Date: Wed, 3 Jun 2009 06:50:36 +0000 (+0200) Subject: Move IO engine flags X-Git-Tag: fio-1.27~8 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=2b4f4abec640f36ccdff39de00e74b2234e27116;hp=dcefb588d556828af570221b2dc276a6376c8557;ds=sidebyside Move IO engine flags Signed-off-by: Jens Axboe --- 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