[Bugs] [Bug 1347715] removal of file from nfs mount crashs ganesha server

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 3 12:15:30 UTC 2016


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



--- Comment #7 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15600 committed in release-3.7 by Kaushal M
(kaushal at redhat.com) 
------
commit fee92f7c6abc651e88a8b52d5187286a4b8df2c3
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Mon Dec 14 17:52:37 2015 +0530

    Upcall/cache-invalidation: Use parent stbuf while updating parent entry

    For *create*  fops (CREATE, MKDIR, MKNOD), we invalidate the parent
    entry. Hence send parent attributes in the stat field.

    Also "UP_PARENT_DENTRY_FLAGS" has to be set only for the fops which shall
    result in two invalidations requests - one for the inode on which fop is
    being performed and another on parent entry.

    In case of CREATE/MKDIR/MKNOD fops, there shall be only one invalidation
    request sent, that too on parent inode. We send invalidation directly on
    parent inode's gfid. So there is no necessity to set these flags which
    when set shall endup invalidating the parent's parent entry.

    Cherry picked from commit f4282bd927e2e0d826d62cf1192102382c5697b2:
    > Change-Id: I7514ee08382081e3e060818ede497dbca26987dc
    > BUG: 1291259
    > Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    > Reviewed-on: http://review.gluster.org/12962
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Smoke: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>

    Change-Id: I7514ee08382081e3e060818ede497dbca26987dc
    BUG: 1347715
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/15600
    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: Kaushal M <kaushal 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=KZWxfe3muC&a=cc_unsubscribe


More information about the Bugs mailing list