Initiate recovery on node failure
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 7 Jun 2014 05:45:22 +0000 (00:45 -0500)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 15:59:05 +0000 (09:59 -0600)
commite94987db2ed983aea4e45d22db9e17c6bbf2a623
treed216701edf17d2f1b6781be78da780a8c9cf6c18
parent11dd35daaab86d12270d23a10e8d242846a8830a
Initiate recovery on node failure

The DLM informs us in case of node failure with the DLM slot number.
cluster_info->recovery_map sets the bit corresponding to the slot number
and wakes up the recovery thread.

The recovery thread:
1. Derives the slot number from the recovery_map
2. Locks the bitmap corresponding to the slot
3. Copies the set bits to the node-local bitmap

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
drivers/md/md-cluster.c