diff options
author | Shaohua Li <shli@fb.com> | 2015-10-04 09:20:12 -0700 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-11-01 13:48:27 +1100 |
commit | e6c033f79a0a1e9ca850575dcfa51bb583b592fa (patch) | |
tree | f3bc309e460231d295e36300ed1442dca875ac58 /drivers/md/raid5.h | |
parent | ac6096e9d5cb88a31f3af2d140df7d680b42745e (diff) | |
download | op-kernel-dev-e6c033f79a0a1e9ca850575dcfa51bb583b592fa.zip op-kernel-dev-e6c033f79a0a1e9ca850575dcfa51bb583b592fa.tar.gz |
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>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 32c8ce8..1ab534c 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -630,4 +630,5 @@ extern void r5l_write_stripe_run(struct r5l_log *log); extern void r5l_flush_stripe_to_raid(struct r5l_log *log); extern void r5l_stripe_write_finished(struct stripe_head *sh); extern int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio); +extern void r5l_quiesce(struct r5l_log *log, int state); #endif |