All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: discard every free extent in a whole-AG FITRIM
@ 2026-10-26  1:54 ` Daejun Park via B4 Relay
  0 siblings, 0 replies; 8+ messages in thread
From: Daejun Park @ 2026-10-26  1:54 UTC (permalink / raw)
  To: Carlos Maiolino, linux-xfs
  Cc: Darrick J. Wong, Dave Chinner, Christoph Hellwig, linux-kernel,
	stable, Daejun Park

A whole-device fstrim walks each AG but the last by length. Two bugs
in that walk leave free extents undiscarded, while fstrim reports the
whole range as trimmed. Patch 2 depends on patch 1.

The new fstests case xfs/842, sent separately, fails without this
series and passes with it. ./check -g trim shows no regressions
(generic/038 and 500 were not run).

---
Daejun Park (2):
      xfs: don't skip free extents in later batches of a whole-AG FITRIM
      xfs: don't skip free extents of the longest length in a whole-AG FITRIM

 fs/xfs/xfs_discard.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
---
base-commit: ec8f62cc109a3f596b3c65dc0f1011c209239051
change-id: 20261023-xfs-fitrim-skip-7ff1cf0364c5

Best regards,
-- 
Daejun Park <daejun7.park@samsung.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-28 15:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-26  1:54 [PATCH 0/2] xfs: discard every free extent in a whole-AG FITRIM Daejun Park
2026-10-26  1:54 ` Daejun Park via B4 Relay
2026-10-26  1:54 ` [PATCH 1/2] xfs: don't skip free extents in later batches of " Daejun Park
2026-10-26  1:54   ` Daejun Park via B4 Relay
2026-10-28 15:03   ` Christoph Hellwig
2026-10-26  1:54 ` [PATCH 2/2] xfs: don't skip free extents of the longest length in " Daejun Park
2026-10-26  1:54   ` Daejun Park via B4 Relay
2026-10-28 15:04   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.