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:13 -0700 |
commit | 62851271df97c584b43a7b2458d6bccc97dee029 (patch) | |
tree | d79981e02fd25771695943f532e58cc6cbbb8c74 /libglusterfs/src/compat.h | |
parent | 4ad9bc5faca60528345f1e9c95c22bd8402162c0 (diff) |
features/shard: Regulate memory consumption by individual shards' inode_t objects
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: I5e60eea5dcf3130257fb431ca70cfaba53cae7f3
BUG: 1252263
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/12254
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/compat.h')
0 files changed, 0 insertions, 0 deletions