From: NeilBrown Date: Fri, 6 Jan 2006 08:20:17 +0000 (-0800) Subject: [PATCH] md: fix raid6 resync check/repair code X-Git-Tag: v2.6.16-rc1~936^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca65b73bd9c301d243df93780f7b26579e6c9204;p=pandora-kernel.git [PATCH] md: fix raid6 resync check/repair code raid6 currently does not check the P/Q syndromes when doing a resync, it just calculates the correct value and writes it. Doing the check can reduce writes (often to 0) for a resync, and it is needed to properly implement the echo check > sync_action operation. This patch implements the appropriate checks and tidies up some related code. It also allows raid6 user-requested resync to bypass the intent bitmap. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed