I/O priority support with cfq scheduler (needs new kernel patch)
[enigma2.git] / lib / base / ioprio.h
diff --git a/lib/base/ioprio.h b/lib/base/ioprio.h
new file mode 100644 (file)
index 0000000..498a473
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __LIB_BASE_IOPRIO_H_
+#define __LIB_BASE_IOPRIO_H_
+
+void setIoPrio(int prio_class, int prio=7);
+void printIoPrio();
+
+enum {
+       IOPRIO_CLASS_NONE,
+       IOPRIO_CLASS_RT,
+       IOPRIO_CLASS_BE,
+       IOPRIO_CLASS_IDLE,
+};
+
+#endif // __LIB_BASE_IOPRIO_H_