On Thu, 01 May 2025 09:27:24 +1000, Dave Chinner wrote: > When running fstrim immediately after mounting a V4 filesystem, > the fstrim fails to trim all the free space in the filesystem. It > only trims the first extent in the by-size free space tree in each > AG and then returns. If a second fstrim is then run, it runs > correctly and the entire free space in the filesystem is iterated > and discarded correctly. > > [...] Applied to for-next, thanks! [1/1] xfs: don't assume perags are initialised when trimming AGs commit: 23be716b1c4f3f3a6c00ee38d51a57ef7db9ef7d Best regards, -- Carlos Maiolino <cem@xxxxxxxxxx>