• Goldwyn Rodrigues's avatar
    Introduce md_cluster_info · c4ce867f
    Goldwyn Rodrigues authored
    md_cluster_info stores the cluster information in the MD device.
    
    The join() is called when mddev detects it is a clustered device.
    The main responsibilities are:
    	1. Setup a DLM lockspace
    	2. Setup all initial locks such as super block locks and bitmap lock (will come later)
    
    The leave() clears up the lockspace and all the locks held.
    Signed-off-by: default avatarGoldwyn Rodrigues <rgoldwyn@suse.com>
    c4ce867f
md-cluster.c 4.65 KB