Merge pull request #4459 from kolyshkin/prio-nits

Fixups to scheduler/priority settings
This commit is contained in:
lfbzhm
2024-12-25 23:41:27 +08:00
committed by GitHub
8 changed files with 61 additions and 55 deletions
-6
View File
@@ -286,12 +286,6 @@ func ToSchedAttr(scheduler *Scheduler) (*unix.SchedAttr, error) {
}, nil
}
var IOPrioClassMapping = map[specs.IOPriorityClass]int{
specs.IOPRIO_CLASS_RT: 1,
specs.IOPRIO_CLASS_BE: 2,
specs.IOPRIO_CLASS_IDLE: 3,
}
type IOPriority = specs.LinuxIOPriority
type (