diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2015-12-21 10:51:00 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2016-01-06 11:38:57 +1100 |
commit | f6a2dc64ee74477c966f5220b1f560ed6308d010 (patch) | |
tree | b371e1cbeb71c2e04e45be01c4964faace6ec400 /usr | |
parent | 09afd2a8d6ad2c40f3c1ae0b3f83784864cf4c15 (diff) | |
download | op-kernel-dev-f6a2dc64ee74477c966f5220b1f560ed6308d010.zip op-kernel-dev-f6a2dc64ee74477c966f5220b1f560ed6308d010.tar.gz |
md-cluster: append some actions when change bitmap from clustered to none
For clustered raid, we need to do extra actions when change
bitmap to none.
1. check if all the bitmap lock could be get or not, if yes then
we can continue the change since cluster raid is only active
in current node. Otherwise return fail and unlock the related
bitmap locks
2. set nodes to 0 and then leave cluster environment.
3. release other nodes's bitmap lock.
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions