[Bugs] [Bug 1431908] Enabling parallel-readdir causes dht linkto files to be visible on the mount ,
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jun 12 10:18:28 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1431908
--- Comment #12 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17504 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit e97c32ee9913969a726f8a8286cf714f907729d6
Author: Poornima G <pgurusid at redhat.com>
Date: Mon Jun 12 10:59:04 2017 +0530
readdir-ahead: Fix duplicate listing and cache size calculation
Issue:
If a opendir is followed by a closedir without readdir, though
the prefetched entries were freed, the freed size was not accounted
in priv->rda_cache_size. Thus the cache limit will exceed if there
are multiple opendir followed by closedir.
Fix:
Fix the pric->rda_cache_size calculation. Also have removed the
inode_ctx_size. Each perf xlator has its own cache limit that
it works with. Also the inode_ctx size can change, if a forget/
invalidate or any other factor triggers the inode_ctx size.
Change-Id: I9707ec558076ce046e58a55989ec9513c70ea029
BUG: 1431908
Signed-off-by: Poornima G <pgurusid at redhat.com>
Reviewed-on: https://review.gluster.org/17504
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=MSul9o3cQl&a=cc_unsubscribe
More information about the Bugs
mailing list