Description of problem: After a graph switch, old graphs are not freed. The graphs cannot be freed till none of the entities like inodes, frames, rpc objects, threads etc that refer to them are present. Hence, the work falls into two broad categories: 1. the infrastructure code, that decides when the graphs can be freed. 2. Actual cleanup itself. This step majorly consists of implementing finis of all the translators to cleanup their respective states completely. regards, Raghavendra.
CHANGE: http://review.gluster.com/811 (features/posix-acl: handle fini for features/posix-acl) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/2499 (debug/io-stats: Handle fini for io-stats xlator) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/800 (cluster/afr: Handle fini for afr,pump) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/2734 (fuse-bridge: Handle graph-switch.) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/2735 (rpc/clnt: handle PARENT_DOWN event appropriately) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/790 (performance/quick-read: implement fini) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/792 (performance/read-ahead: cleanup xlator private data completely in fini.) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/2870 (fuse-bridge/graph-cleanup: don't provide a cbk for cleanup syncop task) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/791 (performance/io-cache: cleanup the xlator private data completely in fini.) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/3006 (libglusterfs/fd: ref fds while copying the fdentries.) merged in master by Anand Avati (avati)
Graph cleanup is in release-3.3