mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Remove need for and use of ioprio header (#1535)
This commit is contained in:
parent
569a151da2
commit
7a9c3b7eb2
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#include "ioprio.hpp"
|
||||
|
||||
#ifdef __linux__
|
||||
# include <linux/ioprio.h>
|
||||
# include <sys/syscall.h>
|
||||
# include <unistd.h>
|
||||
# include <errno.h>
|
||||
|
|
@ -9,6 +8,11 @@
|
|||
#warning "ioprio not supported on this platform"
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
IOPRIO_WHO_PROCESS = 1
|
||||
};
|
||||
|
||||
thread_local int ioprio::SetFrom::thread_prio = -1;
|
||||
bool _enabled = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue