News for hackers. Stuff that matters.
Re:Bcachefs File-System Plans to Try Again to Land in Linux 6.6 by Dylan16807 on Thursday July 13, 2023 @09:19PM (#36718289)
You can tell if the metadata is correct by checking the hashes of everything committed by that superblock.

If it isn't correct, ignore it and move on to the previous superblock. Keep going until you can verify a contiguous 30 seconds of superblocks.

If writes are being delayed by more than 30 seconds, your problems go beyond "out of order".

This does impose the requirement not to overwrite trees that are only a minute or two old. That should not be hard.

There are no comments on this comment yet.