[Bugs] [Bug 1422394] Gluster NFS server crashing in __mnt3svc_umountall

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 15 09:04:27 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16627 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit c0de166648ddfea03505e69bade06556a4f9ad65
Author: Niels de Vos <ndevos at redhat.com>
Date:   Wed Feb 15 09:57:34 2017 +0100

    gNFS: Keep the mountdict as long as the service is active

    We initialize and take ref once on mountdict during NFS/MNT3 server
    initialization but seem to be unref'in it for every UMNTALL request.
    This can lead to crash when there are multiple UMNTALL requests
    with >=1 active mount entry(/ies) in the mountlist.

    Since we take the ref only once, we should keep the mountdict through
    out the life of the process and dereference it only during unitialization
    of mnt3 service.

    Cherry picked from commit a88ae92de190af0956013780939ba6bdfd509ff8:
    > Change-Id: I3238a8df09b8972e56dd93fee426d866d40d9959
    > BUG: 1421759
    > Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    > Reviewed-on: https://review.gluster.org/16611
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>

    Change-Id: I3238a8df09b8972e56dd93fee426d866d40d9959
    BUG: 1422394
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/16627
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: soumya k <skoduri at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    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.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=e0VZAwhB37&a=cc_unsubscribe


More information about the Bugs mailing list