Implemented linux ionice funtionality
This commit is contained in:
8
types.go
8
types.go
@@ -29,6 +29,8 @@ type Config struct {
|
||||
Kill Kill `yaml:"kill,omitempty"`
|
||||
|
||||
Prio Prio `yaml:"prio,omitempty"`
|
||||
|
||||
IOPrio IOPrio `yaml:"ioprio,omitempty"`
|
||||
}
|
||||
|
||||
type Prio []struct {
|
||||
@@ -41,4 +43,10 @@ type Kill []struct {
|
||||
Name []string `yaml:"name,omitempty"`
|
||||
}
|
||||
|
||||
type IOPrio []struct {
|
||||
Class uint32 `yaml:"class,omitempty"`
|
||||
Prio uint32 `yaml:"prio,omitempty"`
|
||||
Name []string `yaml:"name,omitempty"`
|
||||
}
|
||||
|
||||
/* vim: set ft=go noet ai ts=4 sw=4 sts=4: */
|
||||
|
||||
Reference in New Issue
Block a user