mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
phase168: fix accepted submission accounting
This commit is contained in:
1 parent
8b979ae02a
commit
388c0fe948
1 file changed
-1
@@ -444,7 +444,6 @@ func (ring *ioUring) submitAndWait(operations []ringOperation) ([]ioUringCQE, in
|
||||
completions := ring.waitForAccepted(submitted)
|
||||
return completions, submitted, errors.New("io_uring_enter submitted zero operations")
|
||||
}
|
||||
submitted += count
|
||||
}
|
||||
|
||||
completions := ring.waitForAccepted(len(operations))
|
||||
|
||||
Reference in new issue
Block a user