summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.h
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2013-12-09 16:10:56 +0530
committerAnand Avati <avati@redhat.com>2013-12-10 09:30:26 -0800
commitc492b2cf8a18f09975da24e60330d0454cbd1e4e (patch)
treef02ceab70deac11fbc4106666afe2e352f1745fc /xlators/cluster/dht/src/dht-common.h
parent980fb894798240076142ea74b0d49dd2b4160462 (diff)
mount/fuse: cleanup old graphs.
After a graph switch, a PARENT_DOWN event from fuse indicates protocol/client to shutdown all its sockets. However, this event will be sent only when the first fop is received from fuse mount after graph switch. Also, this event is sent only on previously active graph. So, if there are multiple graph switches when there is no activity on mountpoint, we'll be left with a list of graphs with their sockets still open. This patch fixes the issue by sending PARENT_DOWN to previously non-active graph when a new graph is available irrespective of whether there is an activity on mount-point. Change-Id: I9e676658d797c0b2dd3ed5ca5a56271bd94b4bb6 BUG: 924726 Signed-off-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on: http://review.gluster.org/4713 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
0 files changed, 0 insertions, 0 deletions