Re: Re: File system defragmentation. Something that can resume after stopping.

Michael <[email protected]> Thu, 14 May 2026 18:30:51 +0100
Newsgroups gmane.linux.gentoo.user
Message-ID <2413994.ElGaqSPkdT@rogueboard>
On Thursday, 14 May 2026 17:18:39 British Summer Time Holger Hoffstätte 
wrote:
> On 2026-05-14 12:30, Michael wrote:
> > There's this archived paper from a 2007 Linux Symposium which
> > explains how linux filesystems intelligently delay writing data to
> > disk until the last moment so that data is allocated as
> > contiguously as possible.  Also, after a
> That (delalloc) is unfortunately not even half the story. XFS is still
> the only filesystem (on Linux) that does persistent preallocation on
> regular writes, and splitting the filesystem into multiple AGs
> (allocation groups) is much more effective for *long-term* mixed-size
> free-space management than whatever ext4 does even today.
> 
> So while we're posting papers:
> https://www.usenix.org/conference/hotstorage19/presentation/conway
> 
> Enjoy :)
> 
> -h

Thank you for this!  I was surprised to read BTRFS was tested to be 
better than ext4 and ZFS on HDD and better than ext4, XFS and F2FS on an 
SSD.  O_O

Does anyone know if kernel fscrypt has been added to btrfs following 
this work?

https://lore.kernel.org/linux-btrfs/
20240124195831.GA1212739@perftesting/T/

I don't see this included in CONFIG_BTRFS_EXPERIMENTAL on the stable 
kernel.
signature.asc (application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmoGBssbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJELHqqvbClWcZDyAQAOCc+mW0trPrOw9f6iUd
mCTc5JFC6cIomirREAecd7o1lhoRpNitEZOBCNM5EWc5uz6fo1yJFrmdOzwtqsmJ
RDLBDtfCFejh2VUBi+9d3sUn9enmtTV9P03DR+gVAOWrivxst6Se5WBZT92ibMmd
75AHHAwm1JpUVJCpL8V5mVxQDvPuEo+nc1xgHgohfC5efKCDsGE8bfd/zA0G2WDy
8nUNraMLSIzO6V6BWrKGHRvCToJEVlk475cMPfeT+PZ8bOBMZqBwwzIM0SyItCjb
xym4AMI/GqyMsP8LGG/LvGDeGrtMMPMFwHq30BZw5gCOSxx6NOBawWVpif2o1nAh
ECQ5wYUGLxyxZjCNBBaaD+VVVNqYvR1L+n6ukCsqrYHU0S8rG2rWd16yl3J13C/Q
05VysvtuGQAndp/EqRi0e+6NkGw9bIkotKg+IiZRj9A1ECA/SOPDsle74vjtLXCI
EQh3kAGbhgD50ClrBQM4RHSkscrv4I1CfmcfQtbTHF0uJDc40jKFTcwRl04NeSRH
lGEPCZZe+ak6u/EhXl0KWKh/VuJAcZt94EuIk0QB3nTzyTI5Mv29Th6KN7E/Ca7F
JtI7Eq/1pMtE2IrPRYeO7WH6FhafPtIfg4udBuHiKIAhEg9kzsjOLxqIoNzobhGr
LvwAwRyKcgih+/JHxNEpDVZm
=9dAQ
-----END PGP SIGNATURE-----