majianpeng 07169fd478 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 <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2013-11-19 15:19:18 +11:00
..
2013-11-01 08:24:41 +01:00
2013-10-19 13:05:38 -07:00
2013-10-28 14:39:03 -07:00
2013-11-11 17:05:37 +09:00
2013-10-19 13:02:47 -07:00
2013-11-11 17:34:56 +09:00
2013-11-11 17:05:37 +09:00
2013-09-26 20:47:25 -07:00
2013-11-11 17:34:56 +09:00
2013-10-31 15:28:23 -07:00
2013-11-07 15:07:58 +09:00
2013-11-11 16:42:43 +09:00
2013-11-11 16:42:43 +09:00
2013-11-11 16:42:43 +09:00
2013-10-19 13:05:38 -07:00
2013-11-11 17:05:37 +09:00
2013-10-24 16:18:40 +01:00
2013-10-01 22:06:15 +01:00
2013-11-07 09:41:06 +09:00
2013-11-11 17:34:56 +09:00
2013-10-29 16:58:18 -07:00