summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2019-04-03 14:23:06 +0200
committerAmar Tumballi <amarts@redhat.com>2019-08-08 06:10:29 +0000
commit40f476f40b37cc8fcc83618094d357ee643442d8 (patch)
tree574d891bf6d7f46356e8a807e5fe01715ece2dda /libglusterfs
parent8ca15e3c9c72511bbe8a548a1471f8d6a5bfd709 (diff)
fuse: rate limit reading from fuse device upon receiving EPERM
Fixes: bz#1644322 Change-Id: I53e8fa362cd8c7d04fb1c4abb606a9abb642c592 Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/glusterfs/glusterfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/glusterfs.h b/libglusterfs/src/glusterfs/glusterfs.h
index 967bf5b40e7..d59306508b2 100644
--- a/libglusterfs/src/glusterfs/glusterfs.h
+++ b/libglusterfs/src/glusterfs/glusterfs.h
@@ -573,6 +573,8 @@ struct _cmd_args {
bool global_threading;
bool brick_mux;
+
+ uint32_t fuse_dev_eperm_ratelimit_ns;
};
typedef struct _cmd_args cmd_args_t;