mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 14:20:03 -05:00
Add ability to invalidate gid cache on demand
SIGUSR2 or ioctl
This commit is contained in:
parent
8b769dff7f
commit
0aafdefc18
8 changed files with 109 additions and 45 deletions
|
|
@ -23,9 +23,9 @@
|
|||
|
||||
namespace ugid
|
||||
{
|
||||
__thread uid_t currentuid = 0;
|
||||
__thread gid_t currentgid = 0;
|
||||
__thread bool initialized = false;
|
||||
thread_local uid_t currentuid = 0;
|
||||
thread_local gid_t currentgid = 0;
|
||||
thread_local bool initialized = false;
|
||||
|
||||
void
|
||||
init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue