diff options
author | N Balachandran <nbalacha@redhat.com> | 2019-08-09 14:34:22 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-08-14 03:21:03 +0000 |
commit | 089e53c7f1c32644ce2b37830b678b4c0c7071fc (patch) | |
tree | 04a020934ae845ad4d310e8410cbfa6bda46c27a /libglusterfs/src/glusterfs/glusterfs.h | |
parent | 5707f2eb1c6933e70300227a6068b6b50befbb87 (diff) |
fuse: Set limit on invalidate queue size
If the glusterfs fuse client process is unable to
process the invalidate requests quickly enough, the
number of such requests quickly grows large enough
to use a significant amount of memory.
We are now introducing another option to set an upper
limit on these to prevent runaway memory usage.
Change-Id: Iddfff1ee2de1466223e6717f7abd4b28ed947788
Fixes: bz#1732717
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs/glusterfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/glusterfs.h b/libglusterfs/src/glusterfs/glusterfs.h index d59306508b2..01262dcd9f5 100644 --- a/libglusterfs/src/glusterfs/glusterfs.h +++ b/libglusterfs/src/glusterfs/glusterfs.h @@ -527,6 +527,7 @@ struct _cmd_args { int client_pid_set; unsigned uid_map_root; int32_t lru_limit; + int32_t invalidate_limit; int background_qlen; int congestion_threshold; char *fuse_mountopts; |