XaiJu
bcachefs
bcachefs

patreon


Faster fsck and mount times

Recently pushed a patch to add prefetching of btree nodes. It's a rather minor change compared to the stuff I'm still working on for replication, but it does improve both mount and fsck times by around 2x - not too shabby for a relatively simple change.

On larger filesystems, bcachefs's mount times still are too slow - this is really only a stopgap measure until I implement persistent allocation information and a few other things. Fsck performance appears to be quite good compared to other filesystems, though. (Could use benchmarks if anyone wants to run them).

Also, just to make sure everyone's aware - currently, while bcachefs is still in development, we run a full fsck by default on every mount (just to find errors, it doesn't fix them by default). This doesn't hurt mount times as much as you'd expect because we currently have to walk all the metadata on mount anyways, and if the metadata is already cached fsck itself is pretty fast. That can be disabled by passing -o nofsck to mount.

And the replication work is coming along, I hope to have something to post about soon.


More Creators