X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-android.h;h=9e3a3d2af5b4e048dca7cfbecd66141603ddd087;hp=1699539cad2a1a525cbec6f98f8ee449f16004af;hb=1767bd34cdc1a7607a8460b8173d08d7954adf99;hpb=a306497afd5ae9dfa52d0423073ed73333ded475 diff --git a/os/os-android.h b/os/os-android.h index 1699539c..9e3a3d2a 100644 --- a/os/os-android.h +++ b/os/os-android.h @@ -140,6 +140,12 @@ enum { #define IOPRIO_BITS 16 #define IOPRIO_CLASS_SHIFT 13 +#define IOPRIO_MIN_PRIO 0 /* highest priority */ +#define IOPRIO_MAX_PRIO 7 /* lowest priority */ + +#define IOPRIO_MIN_PRIO_CLASS 0 +#define IOPRIO_MAX_PRIO_CLASS 3 + static inline int ioprio_set(int which, int who, int ioprio_class, int ioprio) { /*