ref: a4bafdabf7903cd35a2918db44991ab1a20421eb
parent: f2456e4c89f7b8d7513772f9e24c41f3070c16d8
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Dec 9 22:09:25 EST 2023
fs: go readonly when running check to prevent deadlocks a long running check holds the epoch open for a long time, so if a mutator is generating a lot of garbage, we can run out of cache blocks and deadlock; this prevents mutation until the check has finished to prevent this.