X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=io_ddir.h;h=8df24b8a97d77e53e836654e4fc5e2ae411bdbf2;hb=49758e11f3658686ccd1c61724a5eba142f3ee4f;hp=f28f7555ceeadffbe819e54fdd2d2d386cc6b990;hpb=3d7174e3c4b8aa4daa36261a8e638b702fac5aba;p=fio.git diff --git a/io_ddir.h b/io_ddir.h index f28f7555..8df24b8a 100644 --- a/io_ddir.h +++ b/io_ddir.h @@ -30,7 +30,7 @@ enum td_ddir { #define td_trim(td) ((td)->o.td_ddir & TD_DDIR_TRIM) #define td_rw(td) (((td)->o.td_ddir & TD_DDIR_RW) == TD_DDIR_RW) #define td_random(td) ((td)->o.td_ddir & TD_DDIR_RAND) -#define file_randommap(td, f) (!(td)->o.norandommap && (f)->file_map) +#define file_randommap(td, f) (!(td)->o.norandommap && (f)->io_axmap) static inline int ddir_sync(enum fio_ddir ddir) {