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

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 15 23:20:01 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16625 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 06ab8673f5b0ebe37d358bb6d46bc58fda4a5c83
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: 1422391
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/16625
    Reviewed-by: soumya k <skoduri at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    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=u3Ji753bxk&a=cc_unsubscribe


More information about the Bugs mailing list