Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

fix: move live Statfs to RemainingResources; use *uint64 for min-free…#135

Draft
kart2bc wants to merge 1 commit into
mainfrom
TNZ-111552-1
Draft

fix: move live Statfs to RemainingResources; use *uint64 for min-free…#135
kart2bc wants to merge 1 commit into
mainfrom
TNZ-111552-1

Conversation

@kart2bc

@kart2bc kart2bc commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • TotalResources reverts to static startup value to keep total-remaining arithmetic consistent for BBS metrics
  • RemainingResources caps reported DiskMB at live partition free space (syscall.Statfs), so schedulers see reduced capacity when disk fills
  • MinCachePartitionFreeBytes changed to *uint64: nil means use the 5 GB default, 0 explicitly disables the check (previously impossible)

ai-assisted=yes
TNZ-111552

Summary

Backward Compatibility

Breaking Change? Yes/No

… config

- TotalResources reverts to static startup value to keep total-remaining
  arithmetic consistent for BBS metrics
- RemainingResources caps reported DiskMB at live partition free space
  (syscall.Statfs), so schedulers see reduced capacity when disk fills
- MinCachePartitionFreeBytes changed to *uint64: nil means use the 5 GB
  default, 0 explicitly disables the check (previously impossible)

ai-assisted=yes
TNZ-111552
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant