summaryrefslogtreecommitdiffstats
path: root/mod_glusterfs
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-06-03 00:38:26 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-08 06:47:40 -0700
commite98d3808478c09fb4058a53a7dc215d8fae1553f (patch)
tree5bbf3fedc5df6d4314dd953ddbecb510012afb4e /mod_glusterfs
parent1d940e5ab2baeb901792f4b60a3abf3fcec19491 (diff)
server-helpers: cleanup connection only if there are no active transports.
- thanks to Ioannis Aslanidis <iaslanidis@flumotion.com> for reporting. - breakup the server_connection_cleanup into smaller procedures. - do following operations in a single atomic operation. 1. conn->active_transports-- 2. collecting pointer to lock table and all fds if there are no active transports this will avoid any race conditions. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'mod_glusterfs')
0 files changed, 0 insertions, 0 deletions