diff options
author | Csaba Henk <csaba@redhat.com> | 2019-04-03 14:23:06 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-08-08 06:10:29 +0000 |
commit | 40f476f40b37cc8fcc83618094d357ee643442d8 (patch) | |
tree | 574d891bf6d7f46356e8a807e5fe01715ece2dda /xlators/mount/fuse/src/fuse-bridge.h | |
parent | 8ca15e3c9c72511bbe8a548a1471f8d6a5bfd709 (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 'xlators/mount/fuse/src/fuse-bridge.h')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h index 697bd8848e1..8d25bed0481 100644 --- a/xlators/mount/fuse/src/fuse-bridge.h +++ b/xlators/mount/fuse/src/fuse-bridge.h @@ -191,6 +191,8 @@ struct fuse_private { /* LRU Limit, if not set, default is 128k for now */ uint32_t lru_limit; + + uint32_t fuse_dev_eperm_ratelimit_ns; }; typedef struct fuse_private fuse_private_t; |