[Bugs] [Bug 1418541] [Ganesha+SSL] : Bonnie++ hangs during rewrites.

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 2 17:33:49 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16513 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit db713127b7d2920ce98999143a502b6f554e9cff
Author: Mohit Agrawal <moagrawa at redhat.com>
Date:   Wed Feb 1 15:17:51 2017 +0530

    rpc/socket.c : Bonnie++ hangs during rewrites in ganesha + SSL

    Problem: Bonnie++ rewrite operation hangs in ganesha + SSL environment

    Solution: Bonnie++ hangs during execution of rewrite operation in
              ganesha + SSL environment.It was hanged due to blocking on poll
              call in ssl_do because no POLLOUT event was getting on socket.
              Socket is not getting POLLOUT event because all other threads
              are waiting to get lock and lock is not released ssl_do
              because it is not getting any event on poll.To correct it
              update the condition in ssl_do as same in getting error
              SSL_ERROR_WANT_READ.

    Test:     To test the patch followed below procedure
              1) Setup 2X2 Ganesha + SSL environment.
              2) Run bonnie from 3 nfs client parallely
              3) After run "Rewwrite operation" by bonnie it is hanged.
              4) After apply the patch it is not hanged.

    > BUG: 1418213
    > Change-Id: I5985cbbc4cfdac5d287268d791e31c274abc3c8d
    > Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
    > Reviewed-on: https://review.gluster.org/16501
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    > (cherry picked from commit d7077bca4b372a056d23416294e729637e9af94e)

    Change-Id: Id029c71382025477bb5ff31f28ec537e4fe58b03
    BUG: 1418541
    Reviewed-on: https://review.gluster.org/16513
    Tested-by: MOHIT AGRAWAL <moagrawa at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana 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=OPKWRffptt&a=cc_unsubscribe


More information about the Bugs mailing list