linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fix for selecting a zone with active GC I/O for GC
@ 2025-10-17  6:07 Christoph Hellwig
  2025-10-17  6:07 ` [PATCH 1/2] xfs: prevent gc from picking the same zone twice Christoph Hellwig
  2025-10-17  6:07 ` [PATCH 2/2] xfs: document another racy GC case in xfs_zoned_map_extent Christoph Hellwig
  0 siblings, 2 replies; 17+ messages in thread
From: Christoph Hellwig @ 2025-10-17  6:07 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: Hans Holmberg, Darrick J. Wong, linux-xfs

Hi all,

the first patch in the series adds a counter to ensure that we never
select a zone for which there is active GC I/O for GC again, as we'd
try to copy the same blocks again, only to see the mapping had changed
in I/O completion to discard that I/O.

The second one documents an non-obvious version of that GC race detection
that took us way too long to track down.


^ permalink raw reply	[flat|nested] 17+ messages in thread
* fix for selecting a zone with active GC I/O for GC v2
@ 2025-10-23 15:17 Christoph Hellwig
  2025-10-23 15:17 ` [PATCH 1/2] xfs: prevent gc from picking the same zone twice Christoph Hellwig
  0 siblings, 1 reply; 17+ messages in thread
From: Christoph Hellwig @ 2025-10-23 15:17 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: Hans Holmberg, Darrick J. Wong, linux-xfs

Hi all,

the first patch in the series adds a counter to ensure that we never
select a zone for which there is active GC I/O for GC again, as we'd
try to copy the same blocks again, only to see the mapping had changed
in I/O completion to discard that I/O.

The second one documents an non-obvious version of that GC race detection
that took us way too long to track down.

Changes since v1:
 - fix text in a comment and a commit message

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

end of thread, other threads:[~2025-10-31 11:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17  6:07 fix for selecting a zone with active GC I/O for GC Christoph Hellwig
2025-10-17  6:07 ` [PATCH 1/2] xfs: prevent gc from picking the same zone twice Christoph Hellwig
2025-10-17 12:37   ` Carlos Maiolino
2025-10-20 11:49     ` Christoph Hellwig
2025-10-18  4:08   ` Damien Le Moal
2025-10-23  6:16   ` Darrick J. Wong
2025-10-23  6:28     ` Christoph Hellwig
2025-10-23 15:02       ` Darrick J. Wong
2025-10-23 15:04         ` Christoph Hellwig
2025-10-17  6:07 ` [PATCH 2/2] xfs: document another racy GC case in xfs_zoned_map_extent Christoph Hellwig
2025-10-17 12:40   ` Carlos Maiolino
2025-10-18  4:09   ` Damien Le Moal
2025-10-20  8:19   ` Hans Holmberg
2025-10-23  6:21   ` Darrick J. Wong
2025-10-23  6:30     ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2025-10-23 15:17 fix for selecting a zone with active GC I/O for GC v2 Christoph Hellwig
2025-10-23 15:17 ` [PATCH 1/2] xfs: prevent gc from picking the same zone twice Christoph Hellwig
2025-10-31 11:19   ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).