Fix journal dirty_start position tracking and some debug prints

Fixes two bugs found during HDD testing :-)
1) OSD crashed with "BUG: Attempt to overwrite used offset of the journal" during
   `fio -bs=900k -iodepth=128` test with 16 MB journal
2) OSD stalled during `fio -bs=512k -iodepth=128` test with 64 MB journal
This commit is contained in:
Vitaliy Filippov
2023-07-09 01:17:55 +03:00
parent 161a23c966
commit b7e4d0c9bf
5 changed files with 18 additions and 4 deletions
+3 -1
View File
@@ -82,7 +82,9 @@ wait_up()
done
}
wait_up 60
if [[ $OSD_COUNT -gt 0 ]]; then
wait_up 60
fi
try_reweight()
{