summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.c
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2013-06-04 15:20:45 -0400
committerAnand Avati <avati@redhat.com>2013-06-04 15:37:54 -0700
commit5c1710ed60ccb151ccd7a2890b24bb99518d36da (patch)
treee267cd0208f99d5b3b6420c9e8eff3e029d862ca /libglusterfs/src/xlator.c
parentdbfe779f3049e6fbc2394bdacdb57165d51dc3f3 (diff)
transport/socket: fix connect/disconnect races
We might receive a connect request while a disconnect is still in progress, requiring more states and (the return of) poller generation numbers to avoid redundant pollers. We might also get either kind of request from within our own rpc_transport_notify upcall, so we have to avoid locking and use the PLEASE_DIE state instead. Change-Id: Icbaacf96c516b607a79ff62c90b74d42b241780f BUG: 970194 Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: http://review.gluster.org/5137 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/xlator.c')
0 files changed, 0 insertions, 0 deletions