Followup to 1.4.2 write stall fix - sadly, the previous version was not working correctly :)

This commit is contained in:
Vitaliy Filippov
2024-02-08 19:34:29 +03:00
parent 016115c0d4
commit 5d3317e4f2
4 changed files with 7 additions and 7 deletions
+1 -2
View File
@@ -202,7 +202,7 @@ struct blockstore_op_private_t
{
// Wait status
int wait_for;
uint64_t wait_detail;
uint64_t wait_detail, wait_detail2;
int pending_ops;
int op_state;
@@ -276,7 +276,6 @@ class blockstore_impl_t
std::vector<blockstore_op_t*> submit_queue;
std::vector<obj_ver_id> unsynced_big_writes, unsynced_small_writes;
int unsynced_big_write_count = 0, unstable_unsynced = 0;
bool unstable_count_changed = false;
int unsynced_queued_ops = 0;
allocator *data_alloc = NULL;
uint64_t used_blocks = 0;