[Bugs] [Bug 1422776] multiple glusterfsd process crashed making the complete subvolume unavailable

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 20 05:11:46 UTC 2017


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



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16633 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit 73defab8be16b73241225bb1c2588a61e3e425d5
Author: Poornima G <pgurusid at redhat.com>
Date:   Thu Feb 16 13:05:25 2017 +0530

    marker: Fix inode value in loc, in setxattr fop

    On recieving a rename fop, marker_rename() stores the,
    oldloc and newloc in its 'local' struct, once the rename
    is done, the xtime marker(last updated time) is set on
    the file, but sending a setxattr fop. When upcall
    receives the setxattr fop, the loc->inode is NULL and
    it crashes. The loc->inode can be NULL only in one valid
    case, i.e. in rename case where the inode of new loc
    can be NULL. Hence, marker should have filled the inode
    of the new_loc before issuing a setxattr.

    marker_rename_cbk was already fixed in a previous commit.
    Fixing marker_rename_done to send valid inode in this commit.

    Also in upcall check for NULL inode so that there is no crash.

    Change-Id: I3ed2a05118fed3367dfe3251ce4477310cb480d0
    BUG: 1422776
    Signed-off-by: Poornima G <pgurusid at redhat.com>
    Reviewed-on: https://review.gluster.org/16633
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: 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: Raghavendra G <rgowdapp at redhat.com>

-- 
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