[Bugs] [Bug 1460898] Enabling parallel-readdir causes dht linkto files to be visible on the mount ,

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 21 12:48:13 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1460898



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17529 committed in release-3.11 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 1f4cc8fb8d5647ef923e6cfa7e4f027d6aab97f8
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.


    > 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>
    > (cherry picked from commit e97c32ee9913969a726f8a8286cf714f907729d6)

    Change-Id: I9707ec558076ce046e58a55989ec9513c70ea029
    BUG: 1460898
    Signed-off-by: Poornima G <pgurusid at redhat.com>
    Reviewed-on: https://review.gluster.org/17529
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    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>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list