[Bugs] [Bug 1399916] [SAMBA-CIFS] : IO hungs in cifs mount while graph switch on & off

bugzilla at redhat.com bugzilla at redhat.com
Sat Jan 7 13:58:37 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15978 committed in release-3.9 by Niels de
Vos (ndevos at redhat.com) 
------
commit e5dceb2e43fb1c7268516941950607edbfe3ecb1
Author: Rajesh Joseph <rjoseph at redhat.com>
Date:   Tue Nov 22 22:25:42 2016 +0530

    gfapi: glfs_subvol_done should NOT wait for graph migration.

    In graph_setup function glfs_subvol_done is called which
    is executed in an epoll thread. glfs_lock waits on other
    thread to finish graph migration. This can lead to dead lock
    if we consume all the epoll threads.

    In general any call-back function executed in epoll thread
    should not call any blocking call which waits on a network
    reply either directly or indirectly, e.g. syncop functions
    should not be called in these threads.

    As a fix we should not wait for migration in the call-back path.

    > Reviewed-on: http://review.gluster.org/15913
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    (cherry picked from commit 17d10b42fc4041442e6cd0bfda45944edea498c6)

    Change-Id: If96d0689fe1b4d74631e383048cdc30b01690dc2
    BUG: 1399916
    Signed-off-by: Rajesh Joseph <rjoseph at redhat.com>
    Reviewed-on: http://review.gluster.org/15978
    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: Shyamsundar Ranganathan <srangana at redhat.com>
    Reviewed-by: Niels de Vos <ndevos 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=zwIvm6qHbE&a=cc_unsubscribe


More information about the Bugs mailing list