Print journal flusher diagnostics on slow ops

This commit is contained in:
Vitaliy Filippov
2021-07-17 16:13:41 +03:00
parent 0e0509e3da
commit e74af9745e
9 changed files with 106 additions and 17 deletions
+1
View File
@@ -180,6 +180,7 @@ struct journal_t
~journal_t();
bool trim();
uint64_t get_trim_pos();
void dump_diagnostics();
inline bool entry_fits(int size)
{
return !(block_size - in_sector_pos < size ||