[Bugs] [Bug 1373392] [Disperse] dd + rm + ls lead to IO hang

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 6 07:41:03 UTC 2016


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15406 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit 36692a522ff99fe4c6127c359f4af1cc9aad8de8
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Wed Aug 24 21:01:05 2016 +0530

    cluster/ec: Use locks for opendir

    Problem:
    In some cases we see that readdir keeps winding to the brick that doesn't
have
    any blocked locks i.e. first brick. This is leading to the client assuming
that
    there are no blocking locks on the inode so it won't give away the lock.
Other
    clients end up blocked on the lock as if the command hung.

    Fix:
    Proper way to fix this issue is to use infra present in
    http://review.gluster.org/14736 This is a stop gap fix where we start
taking
    inodelks in opendir which goes to all the bricks, this will detect if there
is
    any contention.

    cherry picked from commit f013335400d033a9677797377b90b968803135f4:

    >BUG: 1346719
    >Change-Id: I91109107a26f6535b945ac476338e9f21dc31eb9
    >Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    >Reviewed-on: http://review.gluster.org/15309
    >Smoke: Gluster Build System <jenkins at build.gluster.org>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    >Reviewed-by: Ashish Pandey <aspandey at redhat.com>

    Change-Id: I91109107a26f6535b945ac476338e9f21dc31eb9
    BUG: 1373392
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-on: http://review.gluster.org/15406
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=OKcC0bpSEx&a=cc_unsubscribe


More information about the Bugs mailing list