]> git.baikalelectronics.ru Git - kernel.git/commit
Introduce md_cluster_info
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 29 Mar 2014 15:20:02 +0000 (10:20 -0500)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 13:28:42 +0000 (07:28 -0600)
commita13268bc282e755214b33769997a4ef96191b5f5
tree529e265c90fbc91a3d4fe8a327f9d7ff9a284890
parent3e8afdb2b6eca1a578a4db7727aab9baf55ca884
Introduce md_cluster_info

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: Goldwyn Rodrigues <rgoldwyn@suse.com>
drivers/md/bitmap.c
drivers/md/md-cluster.c
drivers/md/md.c
drivers/md/md.h