Make flusher_count adaptive and limit write iodepth

This commit is contained in:
Vitaliy Filippov
2021-02-25 23:59:33 +03:00
parent 00e98f64f3
commit c974cb539c
5 changed files with 36 additions and 4 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class journal_flusher_t
{
int trim_wanted = 0;
bool dequeuing;
int flusher_count;
int flusher_count, cur_flusher_count, target_flusher_count;
int flusher_start_threshold;
journal_flusher_co *co;
blockstore_impl_t *bs;