From d30803977e746e5628306f4cf4c0bf607ec38c8f Mon Sep 17 00:00:00 2001 From: Artorias Date: Sat, 28 Mar 2026 22:58:12 +0800 Subject: [PATCH] fix(IoRing): correct timeout check logic for batch processing --- src/fuse/IoRing.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuse/IoRing.cc b/src/fuse/IoRing.cc index 7009198d..fe6cc0fa 100644 --- a/src/fuse/IoRing.cc +++ b/src/fuse/IoRing.cc @@ -34,7 +34,7 @@ std::vector IoRing::jobsToProc(int maxJobs) { if (toProc > iod) { toProc = iod; } else if (toProc < iod && timeout.count()) { - auto now = lastCheck_ = SteadyClock::now(); + auto now = SteadyClock::now(); if (!lastCheck_) { // first time to find the (not enough) ios, wait till timeout lastCheck_ = now; break;