From: Jonathan Brassow Date: Thu, 2 Apr 2009 18:55:30 +0000 (+0100) Subject: dm raid1: add is_remote_recovering hook for clusters X-Git-Tag: v2.6.30-rc1~230^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7513c2a761d69d2a93f17146b3563527d3618ba0;p=pandora-kernel.git dm raid1: add is_remote_recovering hook for clusters The logging API needs an extra function to make cluster mirroring possible. This new function allows us to check whether a mirror region is being recovered on another machine in the cluster. This helps us prevent simultaneous recovery I/O and process I/O to the same locations on disk. Cluster-aware log modules will implement this function. Single machine log modules will not. So, there is no performance penalty for single machine mirrors. Signed-off-by: Jonathan Brassow Acked-by: Heinz Mauelshagen Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed