mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 01:16:30 -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
|
|
@ -25,6 +25,7 @@
|
|||
#include "procfs_get_name.hpp"
|
||||
#include "resources.hpp"
|
||||
#include "strvec.hpp"
|
||||
#include "gidcache.hpp"
|
||||
|
||||
#include "fuse_access.hpp"
|
||||
#include "fuse_bmap.hpp"
|
||||
|
|
@ -218,6 +219,7 @@ namespace l
|
|||
{
|
||||
syslog_info("Received SIGUSR2 - triggering thorough gc");
|
||||
fuse_gc();
|
||||
GIDCache::invalidate_all_caches();
|
||||
}
|
||||
|
||||
static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue