ref: 774cde189143f2e337a495553d5fe2e70d55f1ea
parent: e9bb7d370d769f3bec1b1ef1606f405ba4044255
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jan 30 15:18:45 EST 2022
blk: when retrying, rotate through the arenas otherwise, retries re pointless.
--- a/blk.c
+++ b/blk.c
@@ -592,7 +592,7 @@
tries = 0;
Again:
- a = pickarena(hint);
+ a = pickarena(hint+tries);
if(a == nil || tries == fs->narena){
werrstr("no empty arenas");
return -1;