Skip to content

fuse: fix missing barriers in io-uring init

Joanne Koong fuse-devel stable 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v23 patches 4 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3fuse: fix missing barrier when checking io-uring readinessfs/fuse/dev.c+7 -40 replies
2/3fuse: use release/acquire for fch->initializedfs/fuse/cuse.c fs/fuse/dev.c fs/fuse/dev_uring.c+11 -100 replies
3/3fuse: publish io-uring queues with release semanticsfs/fuse/dev_uring.c+11 -90 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchBernd Schubert
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] fuse: fix missing barriers in io-uring init

These are pre-existing issues Sashiko reported [1] on the fuse zerocopy series.

[1] https://sashiko.dev/#/patchset/20260630211436.2062816-1-joannelkoong%40gmail.com

Changelog
---------
v2: https://lore.kernel.org/fuse-devel/[email protected]/
* Add Bernd's reviewed-bys
* Move deletion of unnecessary smp_rmb() in fuse_get_req from 2nd patch to 1st patch (Bernd)
* Add READ_ONCE for uniformity per Bernd's preference

v1: https://lore.kernel.org/fuse-devel/[email protected]/
* Fix some other pre-existing issues Sashiko found in response to v1
* Add patch for using releasing/acquire for fch->initialized to make things

Joanne Koong (3):
fuse: fix missing barrier when checking io-uring readiness
fuse: use release/acquire for fch->initialized
fuse: publish io-uring queues with release semantics

 fs/fuse/cuse.c      |  3 ++-
 fs/fuse/dev.c       | 17 +++++++++--------
 fs/fuse/dev_uring.c | 24 ++++++++++++++----------
 3 files changed, 25 insertions(+), 19 deletions(-)
Signature · 1 line
2.52.0