Die when journal_sector_buffer_count is too small

This commit is contained in:
Vitaliy Filippov
2020-05-24 17:26:47 +03:00
parent 36595eb669
commit 53f6aba3e6
3 changed files with 19 additions and 5 deletions
+2
View File
@@ -2,6 +2,8 @@
void osd_t::autosync()
{
// FIXME Autosync based on the number of unstable writes to prevent
// "journal_sector_buffer_count is too low for this batch" errors
if (immediate_commit != IMMEDIATE_ALL && !autosync_op)
{
autosync_op = new osd_op_t();