mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
276 B
20 lines
276 B
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
namespace ioprio
|
|
{
|
|
void enable(const bool);
|
|
bool enabled();
|
|
|
|
int get(const int who);
|
|
int set(const int who, const int ioprio);
|
|
|
|
struct SetFrom
|
|
{
|
|
static thread_local int thread_prio;
|
|
|
|
SetFrom(const pid_t pid);
|
|
};
|
|
};
|