Fix uring teardown#139
Merged
hbirth merged 2 commits intoDDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1from Apr 10, 2026
Merged
Fix uring teardown#139hbirth merged 2 commits intoDDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1from
hbirth merged 2 commits intoDDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1from
Conversation
Signed-off-by: Horst Birthelmer <hbirthelmer@ddn.com> (cherry picked from commit ad21e5a)
Fix uninterruptible sleep (D state) hangs during FUSE filesystem teardown when using io_uring. The issue manifests as processes stuck waiting for requests that are never completed, particularly affecting force requests like FUSE_FLUSH or when requests are created after fuse_abort_conn() already finished. If on daemon exit io_uring_try_cancel_requests() runs and calls fuse_uring_cancel() which will teardown the entries by calling fuse_uring_entry_teardown() before fuse_abort_conn() then we end up in fuse_uring_abort with queue_refs == 0 and the queues are never stopped. If the queues are stopped all new requests will be rejected, but that does not happen, so all new calls are stuck. Signed-off-by: Horst Birthelmer <hbirthelmer@ddn.com> (cherry picked from commit 9550b4d)
bsbernd
approved these changes
Apr 10, 2026
92e4e77
into
DDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cherry pick from redfs-ubuntu-noble