From 40f476f40b37cc8fcc83618094d357ee643442d8 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Wed, 3 Apr 2019 14:23:06 +0200 Subject: fuse: rate limit reading from fuse device upon receiving EPERM Fixes: bz#1644322 Change-Id: I53e8fa362cd8c7d04fb1c4abb606a9abb642c592 Signed-off-by: Csaba Henk --- libglusterfs/src/glusterfs/glusterfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs') 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; -- cgit