diff options
| author | Shaohua Li <[email protected]> | 2016-11-21 10:29:19 -0800 |
|---|---|---|
| committer | Shaohua Li <[email protected]> | 2016-11-23 19:30:25 -0800 |
| commit | 034e33f5eda3c61edb838471f69ec42d64e1e94e (patch) | |
| tree | de4cf540bbc599d64105a06a5b7d259363ca8db7 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | ce1ccd079fac0336191c0fd516ebf0e4985d59d4 (diff) | |
md: stop write should stop journal reclaim
__md_stop_writes currently doesn't stop raid5-cache reclaim thread. It's
possible the reclaim thread is still running and doing write, which
doesn't match what __md_stop_writes should do. The extra ->quiesce()
call should not harm any raid types. For raid5-cache, this will
guarantee we reclaim all caches before we update superblock.
Signed-off-by: Shaohua Li <[email protected]>
Reviewed-by: NeilBrown <[email protected]>
Cc: Song Liu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions