From: Lidong Zhong Date: Wed, 13 May 2015 06:04:10 +0000 (+0800) Subject: dm raid1: keep issuing IO after leg failure X-Git-Tag: omap-for-v4.2/fixes-rc1^2~116^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed63287dd670f8e9d2412a913de7fdc50a689831;p=pandora-kernel.git dm raid1: keep issuing IO after leg failure Currently if there is a leg failure, the bio will be put into the hold list until userspace does a remove/replace on the leg. Doing so in a cluster config (clvmd) is problematic because there may be a temporary path failure that results in cluster raid1 remove/replace. Such recovery takes a long time due to a full resync. Update dm-raid1 to optionally ignore these failures so bios continue being issued without interrupton. To enable this feature userspace must pass "keep_log" when creating the dm-raid1 device. Signed-off-by: Lidong Zhong Tested-by: Liuhua Wang Acked-by: Heinz Mauelshagen Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed