On Tue, 07 Nov 2023 11:46:53 +0200, Anssi Hannula wrote: > resize2fs block_mover() flushes data after each extent and, curiously, > only if progress indicator is enabled, every inode_blocks_per_group > blocks. > > This significantly affects performance, e.g. on a tested large > filesystem on top of MD-RAID6+LVM+dm-crypt these flush calls reduce the > operation rate from approx. 500MB/s to 5MB/s, causing extremely long > shrinking times for large size deltas (70TB in my case). > > [...] Applied, thanks! [1/1] resize2fs: avoid constantly flushing while moving blocks commit: e0e6b13d0ea7330234a6fe51ec3ba13ef884735e Best regards, -- Theodore Ts'o <tytso@xxxxxxx>