mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[PR #404] [MERGED] fix: correct timeout check logic for IoRing::jobsToProc #418
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/3FS/pull/404
Author: @dxlog0
Created: 3/28/2026
Status: ✅ Merged
Merged: 3/30/2026
Merged by: @KuribohG
Base:
main← Head:user/zdx/fix_bug📝 Commits (1)
d308039fix(IoRing): correct timeout check logic for batch processing📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/fuse/IoRing.cc(+1 -1)📄 Description
Fix a logic error in IoRing's timeout check mechanism. The issue was that
lastCheck_was being assigned at the same time asnow, making the!lastCheck_condition always false. This prevented the timeout waiting logic from working correctly whenioDepthis negative.The fix separates the time acquisition from the state assignment, ensuring that the first-time check works properly and the timeout mechanism functions as intended.
This change affects the
getJobs()method insrc/fuse/IoRing.cc, specifically the batch processing logic whenioDepthis negative.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.