2 * IO priority handling declarations and helper functions common to the
3 * libaio and io_uring engines.
11 /* read and writes only, no trim */
12 #define CMDPRIO_RWDIR_CNT 2
21 unsigned int percentage[CMDPRIO_RWDIR_CNT];
22 unsigned int class[CMDPRIO_RWDIR_CNT];
23 unsigned int level[CMDPRIO_RWDIR_CNT];
24 unsigned int bssplit_nr[CMDPRIO_RWDIR_CNT];
25 struct bssplit *bssplit[CMDPRIO_RWDIR_CNT];
29 int fio_cmdprio_bssplit_parse(struct thread_data *td, const char *input,
30 struct cmdprio *cmdprio);
32 bool fio_cmdprio_set_ioprio(struct thread_data *td, struct cmdprio *cmdprio,
35 int fio_cmdprio_init(struct thread_data *td, struct cmdprio *cmdprio);