mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-22 17:51:28 +00:00
After creating ResourceSlices, the workload was allowed to proceed even while the scheduler was still busy receiving those new ResourceSlices. This blurred the line between "setup" and "measurement" phase of DRA workloads. It's not immediately clear how much that affected results, but it is cleaner to block. This is done by returning the scheduler instance to the main scheduler_perf loop and then pass the SharedDRAManager into the driver setup operation. There it can be used to poll until that manager has processed all ResourceSlices.