Browse Source

Merge pull request #38 from mirrorll/master

journal check_available error
non-odp-rdma
Vitaliy Filippov 5 months ago
committed by GitHub
parent
commit
c3304bce27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/blockstore_journal.cpp

3
src/blockstore_journal.cpp

@ -96,7 +96,8 @@ int blockstore_journal_check_t::check_available(blockstore_op_t *op, int entries
next_pos = next_pos + data_after;
if (next_pos > bs->journal.len)
{
next_pos = bs->journal.block_size + data_after;
if (right_dir)
next_pos = bs->journal.block_size + data_after;
right_dir = false;
}
}

Loading…
Cancel
Save