diff options
author | majianpeng <majianpeng@gmail.com> | 2013-11-14 05:16:18 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-11-19 05:19:18 +0100 |
commit | 07169fd478ed2fbb3c894d524be9400658f16747 (patch) | |
tree | 54f3ee7b83d33459ae3a3ff4b6e84cd264979b7d /Makefile | |
parent | raid1: Add a field array_frozen to indicate whether raid in freeze state. (diff) | |
download | linux-07169fd478ed2fbb3c894d524be9400658f16747.tar.xz linux-07169fd478ed2fbb3c894d524be9400658f16747.zip |
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions