Rename sector_info.usage_count to flush_count

This commit is contained in:
Vitaliy Filippov
2021-02-02 01:32:23 +03:00
parent 534a4a657e
commit e1e01d042e
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ void blockstore_impl_t::check_wait(blockstore_op_t *op)
else if (PRIV(op)->wait_for == WAIT_JOURNAL_BUFFER)
{
int next = ((journal.cur_sector + 1) % journal.sector_count);
if (journal.sector_info[next].usage_count > 0 ||
if (journal.sector_info[next].flush_count > 0 ||
journal.sector_info[next].dirty)
{
// do not submit