On Wed, 20 Jul 2022 04:26:22 +0000, Kiselev, Oleg wrote: > This patch avoids doing an O(n**2)-complexity walk through every flex group. > Instead, it uses the already computed overhead information for the newly > allocated space, and simply adds it to the previously calculated > overhead stored in the superblock. This drastically reduces the time > taken to resize very large bigalloc filesystems (from 3+ hours for a > 64TB fs down to milliseconds). > > [...] Applied, thanks! (Some slight adjustments were needed to resolve a merge conflict.) [1/2] ext4: reduce computation of overhead during resize commit: d985f3d81c0be1c673ac0462b26727b2a1aeb0d6 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>