diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-09-29 15:13:37 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-10-08 22:17:25 -0700 |
commit | 497481861d9d4aadd982199c01795dbb20972b89 (patch) | |
tree | dcf6dce849927b0bf52300ab378358852d381c80 /cli | |
parent | e42c560d4b6ff579d42e89f735eb6355d04346df (diff) |
features/shard: Regulate memory consumption by individual shards' inode_t objects
Backport of: http://review.gluster.org/#/c/12254/
Shard translator will now maintain an lru list of inodes associated with
individual shards of constant size, and will make sure that at no point the
number of these inodes will exceed the configured limit.
This is to keep the memory consumption by the thousands of shards of every large
file from exploding.
Change-Id: I7290f7cf1d76d5545ef04dc061c170f9f27329d2
BUG: 1269730
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/12313
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions