mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 22:00:15 -05:00
qos: process-classified I/O priority and rate limiting
Adds a QoS engine that attributes each read/write to the calling process, matches it against a ruleset, and applies that class's ioprio and nice value to the worker thread for the duration of the request. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
515b0549ef
commit
34e57dbb8a
13 changed files with 1537 additions and 0 deletions
|
|
@ -27,4 +27,8 @@ namespace procfs
|
|||
void init();
|
||||
void shutdown();
|
||||
std::string get_name(const int tid);
|
||||
|
||||
// Raw contents of /proc/<pid>/cgroup with the trailing newline
|
||||
// removed. Empty when the process is gone or unreadable.
|
||||
std::string get_cgroup(const int pid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue