1 #pragma once 2 3 /* This is minimal version of Linux' linux/ioprio.h header file, which 4 * is licensed GPL2 */ 5 6 /* 7 * These are the io priority groups as implemented by CFQ. RT is the realtime 8 * class, it always gets premium service. BE is the best-effort scheduling 9 * class, the default for any process. IDLE is the idle scheduling class, it 10 * is only served when no one else is using the disk. 11 */ 12 enum { 13 IOPRIO_CLASS_NONE, 14 IOPRIO_CLASS_RT, 15 IOPRIO_CLASS_BE, 16 IOPRIO_CLASS_IDLE, 17 }; 18