XaiJu
bcachefs
bcachefs

patreon


Fast mounts update

Persistent alloc info for clean shutdowns is finally done - this means when mounting after a clean shutdown, we don't have to scan metadata anymore, and mounting should be just as fast or faster than other filesystems.

We do still run fsck by default on every mount, so to see any change you'll have to turn that off with the nofsck mount option:

mount -o nofsck /dev/sda1 /mnt

As always, keep the bug reports coming.

Comments

Yeah umount is temporarily slower, since right now we're not writing out all the alloc info until shutdown. The next step though is to do those updates atomically with the extents btree updates, so we won't need to write them all out at shutdown time

Kent Overstreet

It's about faster boot after 'clean shutdown', not otherwise(and totally not about faster shutdown/umount...)

Oh now that is handy for server deployments. Being able to shut down in a hurry can be so important sometimes.

veritanuda


More Creators