linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/1] vfs-6.19.iomap commit 51311f045375 fixup
@ 2025-10-31 21:13 Joanne Koong
  2025-10-31 21:13 ` [PATCH v4 1/1] iomap: fix race when reading in all bytes of a folio Joanne Koong
  2025-11-05 11:57 ` [PATCH v4 0/1] vfs-6.19.iomap commit 51311f045375 fixup Christian Brauner
  0 siblings, 2 replies; 3+ messages in thread
From: Joanne Koong @ 2025-10-31 21:13 UTC (permalink / raw)
  To: brauner; +Cc: bfoster, hch, djwong, linux-fsdevel

This fixes the race that was reported by Brian in [1]. This fix was locally
verified by running the repro (running generic/051 in a loop on an xfs
filesystem with 1k block size).

Thanks,
Joanne

[1] https://lore.kernel.org/linux-fsdevel/20250926002609.1302233-1-joannelkoong@gmail.com/T/#t 

Changelog:
v3 -> v4:
* Drop rename patch
* Improve comment wording about why a bias is needed

v2 -> v3:
* Fix the race by adding a bias instead of returning from iomap_read_end()
early.

v3: https://lore.kernel.org/linux-fsdevel/20251028181133.1285219-1-joannelkoong@gmail.com/
v2: https://lore.kernel.org/linux-fsdevel/20251027181245.2657535-1-joannelkoong@gmail.com/
v1: https://lore.kernel.org/linux-fsdevel/20251024215008.3844068-1-joannelkoong@gmail.com/#t

Joanne Koong (1):
  iomap: fix race when reading in all bytes of a folio

 fs/iomap/buffered-io.c | 40 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)

-- 
2.47.3


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

end of thread, other threads:[~2025-11-05 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31 21:13 [PATCH v4 0/1] vfs-6.19.iomap commit 51311f045375 fixup Joanne Koong
2025-10-31 21:13 ` [PATCH v4 1/1] iomap: fix race when reading in all bytes of a folio Joanne Koong
2025-11-05 11:57 ` [PATCH v4 0/1] vfs-6.19.iomap commit 51311f045375 fixup Christian Brauner

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).