Linux XFS filesystem development
 help / color / mirror / Atom feed
* fix a buffer lookup against removal race
@ 2026-05-15 13:31 Christoph Hellwig
  2026-05-15 13:31 ` [PATCH] xfs: " Christoph Hellwig
  0 siblings, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2026-05-15 13:31 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: Andrey Albershteyn, linux-xfs

Hi all,

this fixes a bug introduced in the buffer caching changes in 7.0.

Andrey originally found this when testing the fsverity series, and Carlos
came up with a reproducer using xfstests generic/579 with the fsverity
bits stripped out on upstream.  I'll look at adding this as a separate
test as well.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* fix a buffer lookup against removal race v2
@ 2026-05-18  6:02 Christoph Hellwig
  2026-05-18  6:02 ` [PATCH] xfs: fix a buffer lookup against removal race Christoph Hellwig
  0 siblings, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2026-05-18  6:02 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: Andrey Albershteyn, Dave Chinner, linux-xfs

Hi all,

this fixes a bug introduced in the buffer caching changes in 7.0.

Andrey originally found this when testing the fsverity series, and Carlos
came up with a reproducer using xfstests generic/579 with the fsverity
bits stripped out on upstream.  I'll look at adding this as a separate
test as well.

Changes since v1:
 - fix ordering of hash removal vs marking the lockref dead
 - add a cpu_relax() to the retry loop

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

end of thread, other threads:[~2026-05-26  9:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 13:31 fix a buffer lookup against removal race Christoph Hellwig
2026-05-15 13:31 ` [PATCH] xfs: " Christoph Hellwig
2026-05-15 15:34   ` Carlos Maiolino
2026-05-15 21:59   ` Dave Chinner
2026-05-18  5:44     ` Christoph Hellwig
2026-05-16 12:55   ` Andrey Albershteyn
  -- strict thread matches above, loose matches on Subject: below --
2026-05-18  6:02 fix a buffer lookup against removal race v2 Christoph Hellwig
2026-05-18  6:02 ` [PATCH] xfs: fix a buffer lookup against removal race Christoph Hellwig
2026-05-20  9:11   ` Carlos Maiolino
2026-05-21 11:38   ` Andrey Albershteyn
2026-05-26  9:56   ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox