From: majianpeng Date: Thu, 14 Nov 2013 04:16:18 +0000 (+1100) Subject: raid1: Replace raise_barrier/lower_barrier with freeze_array/unfreeze_array when... X-Git-Tag: v3.13-rc1~31^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07169fd478ed2fbb3c894d524be9400658f16747;p=pandora-kernel.git raid1: Replace raise_barrier/lower_barrier with freeze_array/unfreeze_array when reconfiguring the array. We used to use raise_barrier to suspend normal IO while we reconfigure the array. However raise_barrier will soon only suspend some normal IO, not all. So we need something else. Change it to use freeze_array. But freeze_array not only suspends normal io, it also suspends resync io. For the place where call raise_barrier for reconfigure, it isn't a problem. Signed-off-by: Jianpeng Ma Signed-off-by: NeilBrown --- Reading git-diff-tree failed