commit | e6c033f79a0a1e9ca850575dcfa51bb583b592fa | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Sun Oct 04 09:20:12 2015 -0700 |
committer | NeilBrown <neilb@suse.com> | Sun Nov 01 13:48:27 2015 +1100 |
tree | f3bc309e460231d295e36300ed1442dca875ac58 | |
parent | ac6096e9d5cb88a31f3af2d140df7d680b42745e [diff] [blame] |
raid5-cache: move reclaim stop to quiesce Move reclaim stop to quiesce handling, where is safer for this stuff. Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index a622ccb..216fa3c 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c
@@ -7582,6 +7582,7 @@ unlock_all_device_hash_locks_irq(conf); break; } + r5l_quiesce(conf->log, state); } static void *raid45_takeover_raid0(struct mddev *mddev, int level)