From: Goldwyn Rodrigues Date: Tue, 14 Apr 2015 15:45:42 +0000 (-0500) Subject: md-cluster: re-add capabilities X-Git-Tag: omap-for-v4.1/fixes-rc1~34^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f6cd39da227459cb46ed4088d37d5d8db51c50;p=pandora-kernel.git md-cluster: re-add capabilities When "re-add" is writted to /sys/block/mdXX/md/dev-YYY/state, the clustered md: 1. Sends RE_ADD message with the desc_nr. Nodes receiving the message clear the Faulty bit in their respective rdev->flags. 2. The node initiating re-add, gathers the bitmaps of all nodes and copies them into the local bitmap. It does not clear the bitmap from which it is copying. 3. Initiating node schedules a md recovery to sync the devices. Signed-off-by: Guoqing Jiang Signed-off-by: Goldwyn Rodrigues Signed-off-by: NeilBrown --- Reading git-diff-tree failed