[Bugs] [Bug 1330892] nfs-ganesha crashes with segfault error while doing refresh config on volume.

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 29 09:06:27 UTC 2016


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



--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14089 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com) 
------
commit c8e5d078ce8b02f1ce0a4692a1170cd760fbb260
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Wed Apr 13 12:50:49 2016 +0530

    inode: Always fetch first entry from the inode lists during
inode_table_destroy

    In inode_table_destroy, we iterate through lru and active lists
    to move the entries to purge list so that they can be destroyed
    during inode_table_prune.

    But if used "list_for_each_entry" or "list_for_each_entry_safe"
    to iterate, we could end up accessing the entries which may have
    got moved to different(purge) lists in the process and can result
    in either infinite loop or crash. The safe approach seems to fetch
    the first entry of the list in each iteration till it gets empty.

    This is backport of below mainline fix -
            http://review.gluster.org/13987

    Change-Id: I24a18881833bd9419c2d8e5e8807bc71ec396479
    BUG: 1330892
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/13987
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
    Reviewed-on: http://review.gluster.org/14089
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD 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